diff --git a/frontend/src/stores/layout.ts b/frontend/src/stores/layout.ts index 4ca4efe8..5ca808a0 100644 --- a/frontend/src/stores/layout.ts +++ b/frontend/src/stores/layout.ts @@ -75,7 +75,7 @@ export const useLayoutStore = defineStore("layout", { }); }, closeHovers() { - this.prompts.pop()?.close?.(); + this.prompts.shift()?.close?.(); }, // easily reset state using `$reset` clearLayout() {