fix: item history page now live updates

This commit is contained in:
2025-11-19 21:08:18 -07:00
parent 17f8f18574
commit 3382c0ef4e
7 changed files with 39 additions and 22 deletions

View File

@@ -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) => ({