Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(src/client): remove use SUI dropdown, flag, use hydrate from reac…
Browse files Browse the repository at this point in the history
…t 16

fix(src/client): remove use SUI dropdown, flag, use hydrate from react
16
  • Loading branch information
Metnew committed Sep 29, 2017
1 parent cb34424 commit 45c3b2b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/client/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
// import 'semantic-ui-css/semantic.css'
// If you want only some components from SUI:
import 'semantic-ui-css/components/button.css'
import 'semantic-ui-css/components/card.css'
// import 'semantic-ui-css/components/card.css'
import 'semantic-ui-css/components/container.css'
import 'semantic-ui-css/components/dimmer.css'
import 'semantic-ui-css/components/divider.css'
import 'semantic-ui-css/components/dropdown.css'
import 'semantic-ui-css/components/grid.css'
import 'semantic-ui-css/components/header.css'
import 'semantic-ui-css/components/flag.css'
import 'semantic-ui-css/components/form.css'
import 'semantic-ui-css/components/item.css'
import 'semantic-ui-css/components/icon.css'
Expand All @@ -27,7 +25,7 @@ import 'semantic-ui-css/components/statistic.css'
// promise polyfill
import 'promise-polyfill'
// Application
import {render} from 'react-dom'
import {hydrate} from 'react-dom'
import {configureApp, configureRootComponent} from 'common/app'
import {persistStore} from 'redux-persist'
import type {GlobalState} from 'reducers'
Expand Down Expand Up @@ -74,7 +72,7 @@ const RootComponent = configureRootComponent({
i18n
})

render(RootComponent, document.getElementById('app'))
hydrate(RootComponent, document.getElementById('app'))

persistStore(store)

Expand Down

0 comments on commit 45c3b2b

Please sign in to comment.