🐛 fix: add skipErrorHandler option to getModuleConfig for improved error handling

This commit is contained in:
web 2025-12-15 06:22:55 -08:00
parent aead50fe36
commit 3a37e74e71

View File

@ -42,7 +42,7 @@ export default function SystemVersionCard() {
const { data: moduleConfig } = useQuery({ const { data: moduleConfig } = useQuery({
queryKey: ["getModuleConfig"], queryKey: ["getModuleConfig"],
queryFn: async () => { queryFn: async () => {
const { data } = await getModuleConfig(); const { data } = await getModuleConfig({ skipErrorHandler: true });
return data.data; return data.data;
}, },
staleTime: 0, staleTime: 0,