From b96fd60a4f8eb772a1bd978336a408dcd455b3dd Mon Sep 17 00:00:00 2001 From: Bartosz Dokurno Date: Thu, 25 Apr 2024 16:28:34 +0200 Subject: [PATCH] Organize imports --- apps/client/src/components/User/UserApiKeyForm.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/client/src/components/User/UserApiKeyForm.tsx b/apps/client/src/components/User/UserApiKeyForm.tsx index c34daaa..96f42f4 100644 --- a/apps/client/src/components/User/UserApiKeyForm.tsx +++ b/apps/client/src/components/User/UserApiKeyForm.tsx @@ -1,15 +1,14 @@ import { useContext, useState } from 'react'; import toast from 'react-hot-toast'; import { BsClipboard2, BsEye, BsEyeSlash } from 'react-icons/bs'; +import { UserContext } from '../../context/UserContext'; import useApiKey from '../../hooks/useApiKey'; import ActionButton from '../ActionButton'; import Form from '../Form/Form'; import FormField from '../Form/FormField'; import FormInput from '../Form/FormInput'; -import RegenerateApiKeyButton from '../RegenerateApiKeyButton'; -import useUser from '../../hooks/useUser'; -import { UserContext } from '../../context/UserContext'; import Alert from '../Helpers/Alert'; +import RegenerateApiKeyButton from '../RegenerateApiKeyButton'; function UserApiKeyForm() { const { apiKey, error } = useApiKey();