Commit a5a97d61 authored by Alexandros Georgantas's avatar Alexandros Georgantas

refactor(app): template modals

parent a01456db
......@@ -21,7 +21,8 @@ import UnlockModal from 'pubsweet-component-bookbuilder/src/ui/src/modals/Unlock
import MetadataModal from 'pubsweet-component-bookbuilder/src/ui/src/modals/MetadataModal'
import WorkflowModal from 'pubsweet-component-bookbuilder/src/ui/src/modals/WorkflowModal'
import UnlockedModal from 'pubsweet-component-wax/src/modals/UnlockedModal'
import CreateTemplateModal from 'pubsweet-component-editoria-templates/src/ui/src/modals/CreateTemplateModal'
import CreateTemplateModal from 'pubsweet-component-editoria-templates/src/ui/src/modals/TemplateModal'
import UpdateTemplateModal from 'pubsweet-component-editoria-templates/src/ui/src/modals/ConnectedUpdateTemplateModal'
import DeleteTemplateModal from 'pubsweet-component-editoria-templates/src/ui/src/modals/DeleteTemplateModal'
import theme from './theme'
......@@ -42,11 +43,11 @@ const modals = {
errorModal: ErrorModal,
unlockedModal: UnlockedModal,
createTemplateModal: CreateTemplateModal,
updateTemplateModal: UpdateTemplateModal,
deleteTemplateModal: DeleteTemplateModal,
}
const rootEl = document.getElementById('root')
console.log('theme', theme)
ReactDOM.render(
<ModalProvider modals={modals}>
<Root history={history} routes={routes} theme={theme} />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment