2020-08-17 18:17:38 +09:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
2020-08-17 16:00:04 +09:00
|
|
|
import { CheckinForm } from './components/CheckinForm';
|
2019-06-11 22:16:40 +09:00
|
|
|
|
2020-08-17 16:00:04 +09:00
|
|
|
const initialState = JSON.parse(document.getElementById('initialState')?.textContent as string);
|
2020-08-17 16:08:35 +09:00
|
|
|
ReactDOM.render(<CheckinForm initialState={initialState} />, document.getElementById('checkinForm'));
|