Skip to content

Commit

Permalink
fix order of new toasts
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBusshoff committed Dec 27, 2024
1 parent 9c5a42a commit f175f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sit-onyx/src/components/OnyxToast/useToast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const createToastProvider = (): ToastProvider => {
const show: ToastProvider["show"] = (toast: ShowToastOptions) => {
const id = nextId++;

toasts.value.unshift({
toasts.value.push({
...toast,
id,
onClose: () => remove(id),
Expand Down

0 comments on commit f175f7f

Please sign in to comment.