Fix/typescript problems (#60)
* fix: extended typescript checking to main and fixed all typescript errors * fix: removed unnecessary type --------- Co-authored-by: hugo <hugoms@me.com>
This commit is contained in:
@@ -2,9 +2,6 @@ import React from 'react';
|
||||
import { Toaster, toast } from 'react-hot-toast';
|
||||
import './Toast.css';
|
||||
|
||||
// Toast types
|
||||
type ToastType = 'success' | 'error' | 'loading' | 'info';
|
||||
|
||||
// Custom toast functions
|
||||
export const showToast = {
|
||||
success: (message: string) => toast.success(message, {
|
||||
|
||||
Reference in New Issue
Block a user