This commit is contained in:
Oliver Walters committed 2024-08-11 08:10:40 +00:00
1 parent cb91e6f860
commit a23bfdfc6f
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ export function usePluginPanels({
const { isFetching, data } = useQuery({
enabled: pluginPanelsEnabled && !!targetModel,
queryKey: [targetModel, targetId],
queryFn: () => {
queryFn: async () => {
if (!pluginPanelsEnabled || !targetModel) {
return Promise.resolve([]);
}