diff --git a/src/util/Util.ts b/src/util/Util.ts index 1691e3b..6b77d55 100644 --- a/src/util/Util.ts +++ b/src/util/Util.ts @@ -407,7 +407,7 @@ export const infoToast = (message: string, timeout = 5000) => return immediateToast('info', { message, position: 'topCenter', timeout }); }; -export const resolveTime = (str: string) => +export const resolveTime = (str: string): number | null => { try {