Skip to content

Commit

Permalink
incremental
Browse files Browse the repository at this point in the history
  • Loading branch information
tedgeving committed Feb 9, 2023
1 parent b97f914 commit 1895203
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/edit/AreaCRUD.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, { useEffect, useState } from 'react'
import { DragDropContext, Draggable, Droppable } from 'react-beautiful-dnd'

export type AreaCRUDProps = Pick<AreaType, 'uuid' | 'areaName'> & {
areas?: any
childAreas: any
editMode: boolean
onChange: () => void
Expand All @@ -22,7 +21,7 @@ export type AreaCRUDProps = Pick<AreaType, 'uuid' | 'areaName'> & {
export const AreaCRUD = ({ uuid: parentUuid, areaName: parentName, childAreas, editMode, onChange }: AreaCRUDProps): JSX.Element => {
const areaCount = childAreas.length

const [state, setState] = useState<any | undefined>({})
const [state, setState] = useState<any | undefined>()

useEffect(() => {
if (childAreas !== undefined) {
Expand Down

0 comments on commit 1895203

Please sign in to comment.