likec4 0.40.0-build.2 → 0.40.0-build.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/src/App.tsx CHANGED
@@ -1,6 +1,5 @@
1
1
  import { Provider } from 'jotai'
2
- import { useAtomsDevtools } from 'jotai-devtools'
3
- import type { PropsWithChildren } from 'react'
2
+ // import { useAtomsDevtools } from 'jotai-devtools'
4
3
  import { Fragment } from 'react'
5
4
  import { Sidebar } from './components'
6
5
  import { ExportPage, IndexPage, ViewPage } from './pages'
@@ -24,17 +23,15 @@ const Routes = () => {
24
23
  )
25
24
  }
26
25
 
27
- const AtomsDevTools = import.meta.env.DEV ? ({ children }: PropsWithChildren) => {
28
- useAtomsDevtools('demo')
29
- return <>{children}</>
30
- } : Fragment
26
+ // const AtomsDevTools = import.meta.env.DEV ? ({ children }: PropsWithChildren) => {
27
+ // useAtomsDevtools('demo')
28
+ // return <>{children}</>
29
+ // } : Fragment
31
30
 
32
31
  export default function App() {
33
32
  return (
34
33
  <Provider>
35
- <AtomsDevTools>
36
- <Routes />
37
- </AtomsDevTools>
34
+ <Routes />
38
35
  </Provider>
39
36
  )
40
37
  }