Fix: Resolve Toast Type Error
The toast function was updated to correctly pass the 'id' property, resolving the TypeScript error.
This commit is contained in:
@@ -12,6 +12,6 @@ export const showAuthToast = (
|
||||
toast({
|
||||
title,
|
||||
description,
|
||||
...(variant === 'destructive' ? { variant: 'destructive' } : {})
|
||||
variant
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user