fast navigate + cache
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-06-03 15:08:09 +03:30
parent b9608cd486
commit 194533ec5f
27 changed files with 218 additions and 194 deletions
@@ -8,6 +8,8 @@ export const useGetFoods = () => {
queryKey: ["menu"],
queryFn: () => api.getFoods(name),
enabled: !!name,
staleTime: 5 * 60_000,
refetchOnMount: false,
});
};