From cf4725c19b2dab2403d41483e597c8bd58179d24 Mon Sep 17 00:00:00 2001 From: dnlbui Date: Thu, 25 Apr 2024 12:27:58 -0500 Subject: [PATCH] Fix import formatting in fetcher.ts and useNodeVersion.ts --- hooks/fetcher.ts | 6 +++--- hooks/useNodeVersion.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hooks/fetcher.ts b/hooks/fetcher.ts index d0dd8fb..31ca344 100644 --- a/hooks/fetcher.ts +++ b/hooks/fetcher.ts @@ -1,6 +1,6 @@ -import { authService } from "../services/auth.service" -import { useGlobals } from "../utils/globals" -import { isDev } from "../utils/is-dev" +import { authService } from '../services/auth.service' +import { useGlobals } from '../utils/globals' +import { isDev } from '../utils/is-dev' const { apiBase } = useGlobals() diff --git a/hooks/useNodeVersion.ts b/hooks/useNodeVersion.ts index 3714a0e..d413fc5 100644 --- a/hooks/useNodeVersion.ts +++ b/hooks/useNodeVersion.ts @@ -2,9 +2,9 @@ import useSWR from 'swr' import { fetcher } from './fetcher' import { NodeVersion } from '../model/node-version' import { useGlobals } from '../utils/globals' -import { useContext } from 'react' -import { FetcherContext } from '../components/FetcherContextProvider' -import { ToastContext } from '../components/ToastContextProvider' +import { useContext } from 'react'; +import { FetcherContext } from '../components/FetcherContextProvider'; +import { ToastContext } from '../components/ToastContextProvider'; type NodeVersionResult = { isLoading: boolean