| @@ -3,11 +3,11 @@ | ||
| 3 | 3 | |
| 4 | 4 | const fetcher = (url: string) => apiFetch<boolean>({ path: url }); |
| 5 | 5 | |
| 6 | 6 | export const useCanEditHTML = () => { |
| 7 | - const { data } = useSWRImmutable<boolean>( | |
| 8 | - '/code-block-pro/v1/can-save-html', | |
| 9 | - fetcher, | |
| 10 | - ); | |
| 11 | - // Consider it true until the request completes | |
| 12 | - return data; | |
| 7 | + const { data } = useSWRImmutable<boolean>( | |
| 8 | + '/code-block-pro/v1/can-save-html', | |
| 9 | + fetcher, | |
| 10 | + ); | |
| 11 | + // Consider it true until the request completes | |
| 12 | + return data; | |
| 13 | 13 | }; |