style: fix linting

This commit is contained in:
Divlo
2023-01-10 21:27:25 +01:00
parent cdff824ca5
commit 45c072f2bd
2 changed files with 2 additions and 2 deletions

View File

@ -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'