chore: format code

This commit is contained in:
hayden
2024-11-11 11:39:32 +08:00
parent e36af38375
commit 6904aca24c
30 changed files with 291 additions and 147 deletions

View File

@@ -12,7 +12,7 @@ export const useToast = () => {
globalToast.value = toast
const wrapperToastError = <T extends Function>(callback: T): T => {
const wrapperToastError = <T extends CallableFunction>(callback: T): T => {
const showToast = (error: Error) => {
toast.add({
severity: 'error',