diff --git a/packages/storyteller-stream/src/pages/dashboard/Dashboard.tsx b/packages/storyteller-stream/src/pages/dashboard/Dashboard.tsx index a6a875602c..62686df93b 100644 --- a/packages/storyteller-stream/src/pages/dashboard/Dashboard.tsx +++ b/packages/storyteller-stream/src/pages/dashboard/Dashboard.tsx @@ -9,7 +9,8 @@ interface Props { sessionWrapper: SessionWrapper; } -function Dashboard(props: Props) { +class Dashboard extends React.Component { + // function Dashboard(props: Props) { // if (!props.sessionWrapper.isLoggedIn()) { // return ( //
@@ -19,32 +20,33 @@ function Dashboard(props: Props) { //
// ); // } - - return ( - <> -
-
-
-
- {/* Sidebar */} - -
-
- {/* Page routes */} - - - - - - - - + public render() { + return ( + <> +
+
+
+
+ {/* Sidebar */} + +
+
+ {/* Page routes */} + + + + + + + + +
-
- - ); + + ); + } } export { Dashboard };