Skip to content

Commit

Permalink
fix(ui): increase toast display time to 3s
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Sep 1, 2023
1 parent 7cdc1ad commit 42264fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/stores/toasts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { uniqueId } from "lodash";
import { defineStore } from "pinia";
import { ref } from "vue";

const DEFAULT_TIMEOUT = 2000; // Time to display toasts by default (ms)
const DEFAULT_TIMEOUT = 3000; // Time to display toasts by default (ms)

export const useToasts = defineStore("toasts", () => {
const messages = ref<ToastMessage[]>([]);
Expand Down

0 comments on commit 42264fb

Please sign in to comment.