Skip to content

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
delete unused export
set deps
  • Loading branch information
seaerchin committed Jun 25, 2024
1 parent 228fcd7 commit f202567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
import { Text, VStack, HStack, Box, Divider, Spacer } from '@chakra-ui/react'
import { useEffect, useState } from 'react'
import {
DragDropContext,
Droppable,
Draggable,
DropResult,
} from '@hello-pangea/dnd'
import { MdOutlineDragIndicator } from 'react-icons/md'
import { BsPlus } from 'react-icons/bs'
import { Button } from '@opengovsg/design-system-react'
import RootStateDrawer from './RootStateDrawer'
import { type DrawerState } from '~/types/editorDrawer'
import { useEditorDrawerContext } from '~/contexts/EditorDrawerContext'
import ComponentSelector from '~/components/PageEditor/ComponentSelector'
import RootStateDrawer from './RootStateDrawer'
import TipTapComponent from './TipTapComponent'

type EditPageDrawerProps = {
Expand Down
2 changes: 1 addition & 1 deletion apps/studio/src/pages/dashboard/edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const EditPage: NextPageWithLayout = () => {
]
setEditorState(blocks)
setPageState(blocks)
}, [])
}, [setDrawerState, setEditorState, setPageState])

return (
<Grid
Expand Down

0 comments on commit f202567

Please sign in to comment.