Skip to content

Commit

Permalink
chore: 디바이스 미리보기 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
bepyan committed Aug 21, 2024
1 parent 1784330 commit 105f72f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/components/editor/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@ import {
DownloadIcon,
EllipsisVerticalIcon,
EyeIcon,
Laptop,
MailOpenIcon,
Redo2,
Smartphone,
Tablet,
Undo2,
} from "lucide-react";
import Link from "next/link";
import { useRouter } from "next/navigation";
import { toast } from "sonner";
import { useEditor } from "~/components/editor/provider";
import TitleInput from "~/components/editor/title-input";
import type { DeviceType } from "~/components/editor/type";
import { useAlertDialogStore } from "~/components/global-alert";
import { Button } from "~/components/ui/button";
import {
Expand All @@ -27,7 +23,6 @@ import {
DropdownMenuItem,
DropdownMenuTrigger,
} from "~/components/ui/dropdown-menu";
import { Tabs, TabsList, TabsTrigger } from "~/components/ui/tabs";
import TooltipSimple from "~/components/ui/tooltip-simple";
import {
createInvitation,
Expand Down Expand Up @@ -120,7 +115,8 @@ export default function EditorNavigation() {
</Link>
</Button>
<TitleInput />
<Tabs
{/* TODO: 디바이스 미리보기 개선 */}
{/* <Tabs
value={editor.state.device}
onValueChange={(value) => {
dispatch({
Expand All @@ -140,7 +136,7 @@ export default function EditorNavigation() {
<Smartphone />
</TabsTrigger>
</TabsList>
</Tabs>
</Tabs> */}
</aside>
<aside className="flex items-center gap-4">
<div className="flex items-center gap-2">
Expand Down

0 comments on commit 105f72f

Please sign in to comment.