Commit 741f2d08 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

fix bug: product not show when not login

parent 95287ec6
......@@ -136,7 +136,6 @@ export default function Home() {
};
useEffect(() => {
if (!user.value?.token) return;
fetchCategory();
FetchProduct();
}, [user]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment