Skip to content

Commit

Permalink
fix: js checks
Browse files Browse the repository at this point in the history
  • Loading branch information
fbelginetw committed Oct 23, 2024
1 parent 760e940 commit b972c9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions opentrons-ai-client/src/OpentronsAI.test.tsx
Original file line number Diff line number Diff line change
@@ -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__'
Expand Down
4 changes: 1 addition & 3 deletions opentrons-ai-client/src/OpentronsAI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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()
Expand Down

0 comments on commit b972c9b

Please sign in to comment.