Revert "Make onboarding optional, able to be ignored on desktop" (#6610)

Revert "Make onboarding optional, able to be ignored on desktop (#6564)"

This reverts commit 820082d7f2.
This commit is contained in:
Frank Noirot
2025-04-30 21:58:11 -04:00
committed by GitHub
parent 012102fe86
commit 2d77aa0d36
48 changed files with 1043 additions and 826 deletions

View File

@ -1,4 +1,5 @@
import { Link, type NavigateFunction, useLocation } from 'react-router-dom'
import { Link, useLocation } from 'react-router-dom'
import { CustomIcon } from '@src/components/CustomIcon'
import { HelpMenu } from '@src/components/HelpMenu'
import { NetworkHealthIndicator } from '@src/components/NetworkHealthIndicator'
@ -11,10 +12,8 @@ import { APP_VERSION, getReleaseUrl } from '@src/routes/utils'
export function LowerRightControls({
children,
navigate = () => {},
}: {
children?: React.ReactNode
navigate?: NavigateFunction
}) {
const location = useLocation()
const filePath = useAbsoluteFilePath()
@ -73,7 +72,7 @@ export function LowerRightControls({
{!location.pathname.startsWith(PATHS.HOME) && (
<NetworkHealthIndicator />
)}
<HelpMenu navigate={navigate} />
<HelpMenu />
</menu>
</section>
)