Spaces:
Sleeping
Sleeping
axeronis commited on
Commit ·
ea76e96
1
Parent(s): 33285fe
Fix: Add string[] type to useQuery for customFields
Browse files
frontend/app/settings/playbook/page.tsx
CHANGED
|
@@ -154,7 +154,7 @@ export default function PlaybookEditorPage() {
|
|
| 154 |
})
|
| 155 |
|
| 156 |
// React Query for custom fields - cached!
|
| 157 |
-
const { data: customFields = [] } = useQuery({
|
| 158 |
queryKey: ['playbook-custom-fields', user?.tenant_id],
|
| 159 |
queryFn: playbookApi.getCustomFields,
|
| 160 |
enabled: !!user,
|
|
|
|
| 154 |
})
|
| 155 |
|
| 156 |
// React Query for custom fields - cached!
|
| 157 |
+
const { data: customFields = [] } = useQuery<string[]>({
|
| 158 |
queryKey: ['playbook-custom-fields', user?.tenant_id],
|
| 159 |
queryFn: playbookApi.getCustomFields,
|
| 160 |
enabled: !!user,
|