Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Oct 16, 2023
1 parent f585218 commit ae3193d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/atlas/atlas.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ general:
joystreamLandingPageUrl: 'https://www.joystream.org' # URL for Joystream landing page - used in the footer and in "Learn more" links
joystreamDiscordUrl: 'https://discord.gg/DE9UN3YpRP' # URL for Joystream Discord - used for support when errors occur
appContentFocus: 'web3 & crypto' # Content focus of given app. Provide a string, for example `web & crypto` or `sport`
crtMaintenanceMode: true
crtMaintenanceMode: false
storage:
assetResponseTimeout: 2_000 # Timeout for asset response in ms - after this timeout, different distributor will be tried
assetUploadStatusPollingInterval: 2000 # Interval for polling asset upload status in ms - polling begins once asset is uploaded and is finished once QN reports the asset as accepted
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { atlasConfig } from '@/config'
import { CrtMaintenanceView } from '@/views/studio/CrtMaintenanceView'
import { useState } from 'react'

import { SvgActionPlay } from '@/assets/icons'
import { WelcomeView } from '@/components/WelcomeView'
import { CreateTokenDrawer } from '@/components/_crt/CreateTokenDrawer/CreateTokenDrawer'
import { atlasConfig } from '@/config'
import { CrtMaintenanceView } from '@/views/studio/CrtMaintenanceView'

export const CrtWelcomeView = () => {
const [showDrawer, setShowDrawer] = useState(false)
if (atlasConfig.general.crtMaintenanceMode) {
return <CrtMaintenanceView />
}
if (atlasConfig.general.crtMaintenanceMode) {
return <CrtMaintenanceView />
}
return (
<>
<CreateTokenDrawer show={showDrawer} onClose={() => setShowDrawer(false)} />
Expand Down

0 comments on commit ae3193d

Please sign in to comment.