Skip to content

Commit 4c933e4

Browse files
fix(website): make react default instead of removed components view
1 parent 3250713 commit 4c933e4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/overmind-website/src/app/onInitialize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const onInitialize: OnInitialize = ({
88
css,
99
}) => {
1010
state.typescript = storage.get('typescript') || false
11-
state.theme = storage.get('theme') || 'components'
11+
state.theme = storage.get('theme') || 'react'
1212
css.changePrimary(state.theme)
1313

1414
router.route('/', app.actions.openHome)

packages/overmind-website/src/app/state.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
Demo,
88
SearchResult,
99
} from './types'
10-
import { Derive } from 'overmind'
1110

1211
type State = {
1312
page: Page
@@ -25,7 +24,6 @@ type State = {
2524
isLoadingSearchResult: boolean
2625
searchResult: SearchResult[]
2726
showSearchResult: boolean
28-
test: string
2927
}
3028

3129
const state: State = {
@@ -44,7 +42,6 @@ const state: State = {
4442
isLoadingSearchResult: false,
4543
searchResult: [],
4644
showSearchResult: false,
47-
test: '',
4845
}
4946

5047
export default state

0 commit comments

Comments
 (0)