Revert "File based settings (#1361)" (#1435)

This reverts commit 602e7afef6.
This commit is contained in:
Frank Noirot
2024-02-16 09:09:58 -05:00
committed by GitHub
parent 900e3b96ad
commit f00ee3a44a
32 changed files with 167 additions and 593 deletions

View File

@ -7,7 +7,7 @@ import {
createRoutesFromElements,
} from 'react-router-dom'
import { Models } from '@kittycad/lib'
import { SettingsAuthStateProvider } from './SettingsAuthStateProvider'
import { GlobalStateProvider } from './GlobalStateProvider'
import CommandBarProvider from './CommandBar/CommandBar'
type User = Models['User_type']
@ -107,7 +107,7 @@ function TestWrap({ children }: { children: React.ReactNode }) {
path="/file/:id"
element={
<CommandBarProvider>
<SettingsAuthStateProvider>{children}</SettingsAuthStateProvider>
<GlobalStateProvider>{children}</GlobalStateProvider>
</CommandBarProvider>
}
/>