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