diff --git a/app/designer/features/topbar/menu/menu.tsx b/app/designer/features/topbar/menu/menu.tsx
index bd9271538b..42349cf10e 100644
--- a/app/designer/features/topbar/menu/menu.tsx
+++ b/app/designer/features/topbar/menu/menu.tsx
@@ -9,21 +9,7 @@ import {
IconButton,
Text,
} from "~/shared/design-system";
-import {
- HamburgerMenuIcon,
- DashboardIcon,
- EyeOpenIcon,
- Share1Icon,
- RocketIcon,
- UndoIcon,
- RedoIcon,
- TrashIcon,
- ClipboardCopyIcon,
- CopyIcon,
- ZoomInIcon,
- ZoomOutIcon,
- DevicesIcon,
-} from "~/shared/icons";
+import { HamburgerMenuIcon } from "~/shared/icons";
import type { Config } from "~/config";
import { ShortcutHint } from "./shortcut-hint";
import {
@@ -37,6 +23,7 @@ const menuItemCss = {
gap: "$3",
justifyContent: "start",
flexGrow: 1,
+ minWidth: 140,
};
const textCss = {
@@ -68,7 +55,7 @@ export const Menu = ({ config, publish }: MenuProps) => {
navigate(config.dashboardPath);
}}
>
- Dashboard
+ Dashboard
{
});
}}
>
-
Undo
@@ -93,7 +79,6 @@ export const Menu = ({ config, publish }: MenuProps) => {
});
}}
>
-
Redo
@@ -107,7 +92,6 @@ export const Menu = ({ config, publish }: MenuProps) => {
});
}}
>
-
Copy
@@ -120,7 +104,6 @@ export const Menu = ({ config, publish }: MenuProps) => {
});
}}
>
-
Paste
@@ -133,7 +116,6 @@ export const Menu = ({ config, publish }: MenuProps) => {
});
}}
>
-
Delete
@@ -144,7 +126,6 @@ export const Menu = ({ config, publish }: MenuProps) => {
publish({ type: "openBreakpointsMenu" });
}}
>
-
Breakpoints
@@ -157,9 +138,8 @@ export const Menu = ({ config, publish }: MenuProps) => {
});
}}
>
-
Zoom in
-
+
{
});
}}
>
-
Zoom out
@@ -183,7 +162,6 @@ export const Menu = ({ config, publish }: MenuProps) => {
});
}}
>
-
Preview
@@ -193,7 +171,6 @@ export const Menu = ({ config, publish }: MenuProps) => {
setIsShareOpen(true);
}}
>
-
Share
{
setIsPublishOpen(true);
}}
>
-
Publish
diff --git a/mongo-migrations/published-breakpoints.js b/mongo-migrations/published-breakpoints.js
index 8af778a63d..c1be36caf7 100644
--- a/mongo-migrations/published-breakpoints.js
+++ b/mongo-migrations/published-breakpoints.js
@@ -6,6 +6,7 @@ let migrateBreakpoints = () => {
print(`updating breakpoints for ${project._id}`);
try {
const breakpoint = db.Breakpoints.findOne({ _id: project._id });
+ if (breakpoint === null) return;
breakpoint._id = project.devTreeId;
db.Breakpoints.insertOne(breakpoint);
db.Breakpoints.remove({ _id: project._id }, true);