reverse toast order
This commit is contained in:
@@ -56,7 +56,7 @@ const StatusToastOverlay: React.FC = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="status-toast-container">
|
<div className="status-toast-container">
|
||||||
{displayToasts.map((toast) => {
|
{[...displayToasts].reverse().map((toast) => {
|
||||||
const isExiting = exitingToasts.has(toast.id);
|
const isExiting = exitingToasts.has(toast.id);
|
||||||
const classNames = [
|
const classNames = [
|
||||||
'status-toast-pill',
|
'status-toast-pill',
|
||||||
|
|||||||
Reference in New Issue
Block a user