Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey800 committed Oct 24, 2024
1 parent ba372a7 commit ba91265
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { useTypedLoaderData } from 'remix-typedjson'
import { GetToolbarDataQuery } from 'app/__generated__/graphql'
import { TabData, Tabs } from 'app/components/Tabs'
import { useI18n } from 'app/hooks/useI18n'
import { useFeatureFlag } from 'app/utils/featureFlags'
import { BrowseDataTab } from 'app/types/browseData'
import { Events, usePlausible } from 'app/hooks/usePlausible'
import { BrowseDataTab } from 'app/types/browseData'
import { useFeatureFlag } from 'app/utils/featureFlags'

// TODO: uncomment features when implemented
export function BrowseDataTabs() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import { DepositionTableWidths } from 'app/constants/table'
import { Deposition, useDepositions } from 'app/hooks/useDepositions'
import { useI18n } from 'app/hooks/useI18n'
import { useIsLoading } from 'app/hooks/useIsLoading'
import { Events, usePlausible } from 'app/hooks/usePlausible'
import { LogLevel } from 'app/types/logging'
import { cnsNoMerge } from 'app/utils/cns'
import { sendLogs } from 'app/utils/logging'
import { getErrorMessage } from 'app/utils/string'
import { Events, usePlausible } from 'app/hooks/usePlausible'

const LOADING_DEPOSITIONS = range(0, MAX_PER_PAGE).map(
(value) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import { DepositionPageDatasetTableWidths } from 'app/constants/table'
import { Dataset, useDepositionById } from 'app/hooks/useDepositionById'
import { useI18n } from 'app/hooks/useI18n'
import { useIsLoading } from 'app/hooks/useIsLoading'
import { Events, usePlausible } from 'app/hooks/usePlausible'
import { LogLevel } from 'app/types/logging'
import { cnsNoMerge } from 'app/utils/cns'
import { sendLogs } from 'app/utils/logging'
import { getErrorMessage } from 'app/utils/string'
import { carryOverFilterParams, createUrl } from 'app/utils/url'
import { Events, usePlausible } from 'app/hooks/usePlausible'

const LOADING_DATASETS: Dataset[] = range(0, MAX_PER_PAGE).map(
(value) =>
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/data-portal/app/hooks/usePlausible.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import axios from 'axios'
import { useCallback } from 'react'

import { useEnvironment } from 'app/context/Environment.context'
import { BrowseDataTab } from 'app/types/browseData'
import { DownloadConfig, DownloadStep, DownloadTab } from 'app/types/download'

import { MetadataDrawerId } from './useMetadataDrawer'
import { BrowseDataTab } from 'app/types/browseData'

export const PLAUSIBLE_ENV_URL_MAP: Record<NodeJS.ProcessEnv['ENV'], string> = {
local: 'frontend.cryoet.dev.si.czi.technology',
Expand Down

0 comments on commit ba91265

Please sign in to comment.