diff --git a/src/App.tsx b/src/App.tsx index 1348078..47c853d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -30,8 +30,7 @@ function App() { if (previousLanguage && previousLanguage !== normalizedLanguage) { await queryClient.cancelQueries() - await queryClient.invalidateQueries() - await queryClient.refetchQueries({type: 'active'}) + await queryClient.invalidateQueries({refetchType: 'active'}) } previousLanguageRef.current = normalizedLanguage diff --git a/src/features/goods/GoodsCategoryList.tsx b/src/features/goods/GoodsCategoryList.tsx index 56aafe2..e26adad 100644 --- a/src/features/goods/GoodsCategoryList.tsx +++ b/src/features/goods/GoodsCategoryList.tsx @@ -89,7 +89,7 @@ export function GoodsCategoryList({ className="flex h-[36px] w-[36px] items-center justify-center rounded-[12px] bg-[#FA6A00]/15 text-[#FE9F00]"> -