fix types

This commit is contained in:
Samuel Newman
2025-03-08 12:16:21 +00:00
parent 1c91f0b7b9
commit f34e0bdceb
+1 -1
View File
@@ -1,5 +1,5 @@
import {Icon, toast} from '#/components/Toast'
export function show(message: string, legacyIcon: Icon.LegacyIconName) {
export function show(message: string, legacyIcon?: Icon.LegacyIconName) {
toast({message, icon: Icon.compat_convertLegacyIcon(legacyIcon)})
}