style: fix linting
This commit is contained in:
		| @@ -12,7 +12,7 @@ | ||||
|     "isolatedModules": true, | ||||
|     "jsx": "preserve", | ||||
|     "incremental": true, | ||||
|     "exactOptionalPropertyTypes": false, | ||||
|     "exactOptionalPropertyTypes": false | ||||
|   }, | ||||
|   "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], | ||||
|   "exclude": ["node_modules"] | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import { useState } from 'react' | ||||
|  | ||||
| export const fetchState = ['idle', 'loading', 'error', 'success'] as const | ||||
|  | ||||
| export type FetchState = typeof fetchState[number] | ||||
| export type FetchState = (typeof fetchState)[number] | ||||
|  | ||||
| export const useFetchState = ( | ||||
|   initialFetchState: FetchState = 'idle' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user