From 15f3fceff5c053605c93e7b1648e04d81be4de4b Mon Sep 17 00:00:00 2001 From: jordan-ae Date: Mon, 30 Dec 2024 07:12:39 +0100 Subject: [PATCH] chore: set edit as default --- src/components/common/TicketEditor/TicketEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/TicketEditor/TicketEditor.tsx b/src/components/common/TicketEditor/TicketEditor.tsx index bfce6890..45bf4982 100644 --- a/src/components/common/TicketEditor/TicketEditor.tsx +++ b/src/components/common/TicketEditor/TicketEditor.tsx @@ -90,7 +90,7 @@ const TicketEditor = observer( const [selectedVersion, setSelectedVersion] = useState(latestTicket?.version as number); const [versionTicketData, setVersionTicketData] = useState(latestTicket as Ticket); const [isCopying, setIsCopying] = useState(false); - const [activeMode, setActiveMode] = useState<'preview' | 'edit'>('preview'); + const [activeMode, setActiveMode] = useState<'preview' | 'edit'>('edit'); const { main } = useStores(); const ui = uiStore;