Skip to content

Commit

Permalink
Remove unused variables and components
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Nov 11, 2024
1 parent 41e9013 commit a8edb08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
31 changes: 0 additions & 31 deletions services/frontend/src/components/LanguagePicker/index.jsx

This file was deleted.

8 changes: 0 additions & 8 deletions services/frontend/src/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ export const sentryEnvironment = process.env.REACT_APP_SENTRY_ENVIRONMENT || ''
export const sentryDSN = process.env.REACT_APP_SENTRY_DSN || ''
export const runningInCypress = typeof window !== 'undefined' && !!window.Cypress

// Adminer is only used in dev mode, imo hardcoding this url here is ok.
const adminerBaseUrl = 'http://localhost:5050'
const databaseNames = ['kone-db', 'sis-db', 'sis-importer-db', 'user-db']
export const adminerUrls = databaseNames.map(db => ({
url: `${adminerBaseUrl}/?pgsql=${db}&username=postgres`,
text: db,
}))

// Base paths
export const basePath = process.env.PUBLIC_URL || ''
export const apiBasePath = `${basePath}/api`
Expand Down

0 comments on commit a8edb08

Please sign in to comment.