fix accidental type breakage

This commit is contained in:
Samuel Newman
2025-03-10 22:00:24 +02:00
parent 78b560cffa
commit c6cdc2eba5
+1 -1
View File
@@ -3,6 +3,6 @@ import {Icon, toast} from '#/components/Toast'
/**
* @deprecated Use `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)})
}