🐛 fix: add skipErrorHandler option to getModuleConfig for improved error handling
This commit is contained in:
parent
aead50fe36
commit
3a37e74e71
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user