+ {canEditPages && verifiedToken === false && (
+
+ )}
+ {canEditPages && (
+
+
+
+ Add Editable Page for Route:
+ {url}
+
+
+
+
+
+
+
+ )}
+ {!canEditPages && (
+
+ )}
+
+ )}
/>
)
}
-export default AddPage
+export default withRouter(AddPage)
diff --git a/src/components/pages/EditablePages/EditInfoPage.js b/src/components/pages/EditablePages/EditInfoPage.js
index a06626d78..86e0c97b1 100644
--- a/src/components/pages/EditablePages/EditInfoPage.js
+++ b/src/components/pages/EditablePages/EditInfoPage.js
@@ -1,7 +1,7 @@
// @flow
import React from "react"
import { connect } from "react-redux"
-import { Flex, Box } from "rebass"
+import Grid from "@material-ui/core/Grid"
import PageEditor from "components/editor/PageEditor"
import HelpModal from "components/editor/HelpModal"
@@ -29,30 +29,32 @@ type Props = {
const EditInfoPage = (props: Props) => {
const { page, match, editorToolbar, showHelpModal } = props
return (
-