9 lines
323 B
TypeScript
9 lines
323 B
TypeScript
// src/lib/toast.ts
|
|
import toast from 'react-hot-toast';
|
|
|
|
// Re-export types and the default toast object.
|
|
// This intermediate file allows us to mock 'src/lib/toast' reliably in tests
|
|
// without wrestling with the internal structure of the 'react-hot-toast' package.
|
|
export * from 'react-hot-toast';
|
|
export default toast;
|