diff --git a/opentrons-ai-client/src/OpentronsAI.test.tsx b/opentrons-ai-client/src/OpentronsAI.test.tsx index 295f92de2a9..68d604edf07 100644 --- a/opentrons-ai-client/src/OpentronsAI.test.tsx +++ b/opentrons-ai-client/src/OpentronsAI.test.tsx @@ -1,5 +1,5 @@ -import { fireEvent, screen } from '@testing-library/react' -import { describe, it, vi, beforeEach, expect } from 'vitest' +import { screen } from '@testing-library/react' +import { describe, it, vi, beforeEach } from 'vitest' import * as auth0 from '@auth0/auth0-react' import { renderWithProviders } from './__testing-utils__' diff --git a/opentrons-ai-client/src/OpentronsAI.tsx b/opentrons-ai-client/src/OpentronsAI.tsx index 35bdccafd60..621c2453e50 100644 --- a/opentrons-ai-client/src/OpentronsAI.tsx +++ b/opentrons-ai-client/src/OpentronsAI.tsx @@ -10,7 +10,6 @@ import { OpentronsAIRoutes } from './OpentronsAIRoutes' import { useAuth0 } from '@auth0/auth0-react' import { useAtom } from 'jotai' import { useEffect } from 'react' -import { useTranslation } from 'react-i18next' import { Loading } from './molecules/Loading' import { mixpanelAtom, tokenAtom } from './resources/atoms' import { useGetAccessToken } from './resources/hooks' @@ -21,8 +20,7 @@ import { CLIENT_MAX_WIDTH } from './resources/constants' import { Footer } from './molecules/Footer' export function OpentronsAI(): JSX.Element | null { - const { t } = useTranslation('protocol_generator') - const { isAuthenticated, logout, isLoading, loginWithRedirect } = useAuth0() + const { isAuthenticated, isLoading, loginWithRedirect } = useAuth0() const [, setToken] = useAtom(tokenAtom) const [mixpanel] = useAtom(mixpanelAtom) const { getAccessToken } = useGetAccessToken()