diff --git a/apps/web/src/pages/editing-planner/components/StickerPanel/index.tsx b/apps/web/src/pages/editing-planner/components/StickerPanel/index.tsx index 951bb27ae..2e3fa00a8 100644 --- a/apps/web/src/pages/editing-planner/components/StickerPanel/index.tsx +++ b/apps/web/src/pages/editing-planner/components/StickerPanel/index.tsx @@ -1,18 +1,18 @@ -import React from "react"; -import { Drawer, Switch } from "antd"; -import type { StickerConfig } from "../../types"; +import React from "react" +import { Drawer, Switch } from "antd" +import type { StickerConfig } from "../../types" -import { useStickerPanel } from "./hooks/useStickerPanel"; -import { StickerTabs } from "./components/StickerTabs"; -import { StickerList } from "./components/StickerList"; -import { StickerPropsEditor } from "./components/StickerPropsEditor"; +import { useStickerPanel } from "./hooks/useStickerPanel" +import { StickerTabs } from "./components/StickerTabs" +import { StickerList } from "./components/StickerList" +import { StickerPropsEditor } from "./components/StickerPropsEditor" export interface StickerPanelProps { - open: boolean; - onClose: () => void; - config: StickerConfig; - onChange: (config: StickerConfig) => void; - totalDuration: number; + open: boolean + onClose: () => void + config: StickerConfig + onChange: (config: StickerConfig) => void + totalDuration: number } const StickerPanel: React.FC = ({ @@ -33,20 +33,20 @@ const StickerPanel: React.FC = ({ updateItem, addSticker, removeSticker, - } = useStickerPanel({ config, onChange, totalDuration }); + } = useStickerPanel({ config, onChange, totalDuration }) const handleEmojiAdd = (emoji: string) => { - addSticker("emoji", emoji); - }; + addSticker("emoji", emoji) + } const handleImageAdd = (url: string) => { - addSticker("image", url); - }; + addSticker("image", url) + } const handleTextAdd = (text: string) => { - addSticker("text", text); - setTextInput(""); - }; + addSticker("text", text) + setTextInput("") + } return ( = ({ /> )} - ); -}; + ) +} -export default StickerPanel; -export type { StickerPanelProps }; \ No newline at end of file +export default StickerPanel +export type { StickerPanelProps }