Skip to content

Commit

Permalink
chore: Update SpeedDial component to use TypeScript syntax for onOpen…
Browse files Browse the repository at this point in the history
…Modal prop
  • Loading branch information
bramses committed Sep 8, 2024
1 parent 47e7edd commit e11f150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SpeedDial.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from 'react';

const SpeedDial = ({ onOpenModal }) => {
const SpeedDial = ({ onOpenModal }: { onOpenModal: () => void }) => {
const [isOpen, setIsOpen] = useState(false);

const toggleMenu = () => {
Expand Down

0 comments on commit e11f150

Please sign in to comment.