fix: item history page now live updates
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
'use client'
|
||||
import Image from "next/image";
|
||||
import { useRouter } from "next/navigation"
|
||||
import { useEffect } from "react"
|
||||
import { useAsyncEffect } from 'use-async-effect'
|
||||
import { useShallow } from 'zustand/react/shallow'
|
||||
import { UserResponse } from './client/response'
|
||||
import { useCurrentAuthenticatedUserStore, UserActions } from './providers'
|
||||
import { useRouter } from "next/navigation";
|
||||
import { useEffect } from "react";
|
||||
|
||||
export default function Home() {
|
||||
const authenticatedUserStore: UserResponse & UserActions = useCurrentAuthenticatedUserStore(useShallow((state) => ({
|
||||
|
||||
Reference in New Issue
Block a user