18 lines
313 B
JavaScript
18 lines
313 B
JavaScript
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
|
|
import { App } from 'payload/components';
|
|
|
|
import Routes from './Routes';
|
|
import store from './store';
|
|
|
|
const Index = () => {
|
|
return (
|
|
<App store={store}>
|
|
<Routes />
|
|
</App>
|
|
);
|
|
};
|
|
|
|
render(<Index />, document.getElementById('app'));
|