mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-18 06:28:25 +01:00
Fixed the circular imports and things
This commit is contained in:
1 parent
51a11b6495
commit
ec999015ab
83 files changed
+511
-551
No files matched your search
+3
-2
@@ -1,11 +1,12 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
import Settings, { SettingsTab } from '../../components/Settings/Settings'
|
||||
import Settings from '../../../components/Settings/Settings'
|
||||
import { SettingsTab } from '../../../components/Settings/SettingsTab'
|
||||
|
||||
interface SettingsSearchSchema {
|
||||
tab?: SettingsTab
|
||||
}
|
||||
|
||||
export const Route = createFileRoute('/workspaces/settings')({
|
||||
export const Route = createFileRoute('/workspaces/$workspaceId/settings')({
|
||||
component: RouteComponent,
|
||||
validateSearch: (search: Record<string, unknown>): SettingsSearchSchema => ({
|
||||
tab: (search.tab ?? SettingsTab.General) as SettingsTab,
|
||||
Reference in new issue
Block a user