diff --git a/client/src/components/layout/Canvas/Canvas.jsx b/client/src/components/layout/Canvas/Canvas.jsx
index 4e0df5f..a8789f5 100644
--- a/client/src/components/layout/Canvas/Canvas.jsx
+++ b/client/src/components/layout/Canvas/Canvas.jsx
@@ -11,10 +11,10 @@ import { DASHBOARD_VIEWS } from "@/constants/viewKeys";
export default function Canvas({...props}) {
const { view } = props;
return (
-
+ <>
{/* Check if view is a tab inside the Canvas Header */}
{ DASHBOARD_VIEWS.includes(view) && (
-
+
)}
{view === "global" && }
{view === "regional" && }
@@ -22,6 +22,6 @@ export default function Canvas({...props}) {
{view === "admin" && }
{view === "account" && }
{view === "settings" && }
-
+ >
);
}
\ No newline at end of file
diff --git a/client/src/components/layout/Canvas/views/HomeCanvas.jsx b/client/src/components/layout/Canvas/views/HomeCanvas.jsx
index d290845..a562bb6 100644
--- a/client/src/components/layout/Canvas/views/HomeCanvas.jsx
+++ b/client/src/components/layout/Canvas/views/HomeCanvas.jsx
@@ -13,7 +13,7 @@ import DeleteAllButton from "../components/DeleteAllButton";
export function HomeCanvas({...props}) {
// deconstructing props
- const { view, layout, setLayout, setOriginalLayout, onLayoutChange, onChangeView, onCancel,
+ const { width, height, view, layout, setLayout, setOriginalLayout, onLayoutChange, onChangeView, onCancel,
isDelete, setIsDelete, isEditable, setIsEditable, widgetArray, setWidgetArray } = props;
const onAddWidget = (ID) => {
@@ -90,6 +90,8 @@ export function HomeCanvas({...props}) {
return (
/* HEADER */
- >
);
}
\ No newline at end of file