Created custom Loader component
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import { App } from './App'
|
||||
import { colorInfo } from 'ui/style'
|
||||
|
||||
ReactDOM.render(
|
||||
<App style={{ minHeight: '100vh', position: 'relative' }} />,
|
||||
document.getElementById('root')
|
||||
)
|
||||
|
||||
// HACK: See https://github.com/facebook/react/issues/5619
|
||||
let css = document.createElement('style')
|
||||
|
||||
document.body.appendChild(css)
|
||||
css.innerHTML = `::-webkit-input-placeholder { color: ${colorInfo.textPlaceholder} }`
|
||||
|
||||
Reference in New Issue
Block a user