-
);
}
diff --git a/frontend/components/editor/navbar/index.tsx b/frontend/components/editor/navbar/index.tsx
index b5cfede..413200b 100644
--- a/frontend/components/editor/navbar/index.tsx
+++ b/frontend/components/editor/navbar/index.tsx
@@ -1,33 +1,33 @@
-"use client"
+"use client";
-import Image from "next/image"
-import Logo from "@/assets/logo.svg"
-import { Pencil, Users } from "lucide-react"
-import Link from "next/link"
-import { Sandbox, User } from "@/lib/types"
-import UserButton from "@/components/ui/userButton"
-import { Button } from "@/components/ui/button"
-import { useState } from "react"
-import EditSandboxModal from "./edit"
-import ShareSandboxModal from "./share"
-import { Avatars } from "../live/avatars"
+import Image from "next/image";
+import Logo from "@/assets/logo.svg";
+import { Pencil, Users } from "lucide-react";
+import Link from "next/link";
+import { Sandbox, User } from "@/lib/types";
+import UserButton from "@/components/ui/userButton";
+import { Button } from "@/components/ui/button";
+import { useState } from "react";
+import EditSandboxModal from "./edit";
+import ShareSandboxModal from "./share";
+import { Avatars } from "../live/avatars";
export default function Navbar({
userData,
sandboxData,
shared,
}: {
- userData: User
- sandboxData: Sandbox
+ userData: User;
+ sandboxData: Sandbox;
shared: {
- id: string
- name: string
- }[]
+ id: string;
+ name: string;
+ }[];
}) {
- const [isEditOpen, setIsEditOpen] = useState(false)
- const [isShareOpen, setIsShareOpen] = useState(false)
+ const [isEditOpen, setIsEditOpen] = useState(false);
+ const [isShareOpen, setIsShareOpen] = useState(false);
- const isOwner = sandboxData.userId === userData.id
+ const isOwner = sandboxData.userId === userData.id;
return (
<>
@@ -42,7 +42,7 @@ export default function Navbar({
data={sandboxData}
shared={shared}
/>
-