Skip to content

Commit

Permalink
React19: Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans committed May 24, 2024
1 parent 81ac035 commit d2df2f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CalculatorOutput } from './CalculatorOutput'
import { flattenSubcategories } from './utils/flattenSubcategories'

export const Calculator = () => {
const drawControlRef = useRef<MapboxDraw>(undefined)
const drawControlRef = useRef<MapboxDraw | undefined>(undefined)

// This blob ist just to check if the Calculator should be enabled
// by checking the sourceData.
Expand Down

0 comments on commit d2df2f5

Please sign in to comment.