Fix api auth bug

This commit is contained in:
Prayag Prajapati committed 2023-10-13 00:13:03 +05:30
1 parent 4ba08867ba
commit 339f86517c
3 files changed
+33 -56

No files matched your search

+1
View File
@@ -56,6 +56,7 @@ const ItemDetail = () => {
const { id } = useParams();
const [api] = useApi((state) => [state.api]);
const user = useQuery({
queryKey: ["user"],
queryFn: async () => {