0ea4cc2b57
Fixes #16
21 lines
629 B
JavaScript
21 lines
629 B
JavaScript
import ReactDOM from 'react-dom'
|
|
import './index.css'
|
|
import reportWebVitals from './reportWebVitals'
|
|
import studio from '@theatre/studio'
|
|
import {getProject} from '@theatre/core'
|
|
import React from 'react'
|
|
import App from './App'
|
|
|
|
studio.initialize()
|
|
|
|
ReactDOM.render(
|
|
<React.StrictMode>
|
|
<App project={getProject('CRA project')} />
|
|
</React.StrictMode>,
|
|
document.getElementById('root'),
|
|
)
|
|
|
|
// If you want to start measuring performance in your app, pass a function
|
|
// to log results (for example: reportWebVitals(console.log))
|
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
reportWebVitals()
|