Skip to content

Commit

Permalink
Issue #220549 fix: Making prop optional
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Jun 5, 2024
1 parent ba7aaa1 commit d12b5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ToastMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function ToastMessage({
type="error",
}: {
message: string;
type: ToastTypes;
type?: ToastTypes;
}) {
const [state, setState] = React.useState<State>({
openModal: true,
Expand Down

0 comments on commit d12b5b6

Please sign in to comment.