fix accidental type breakage
This commit is contained in:
@@ -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)})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user