Skip to content

Commit 10f0644

Browse files
bartoszherbaMarcin Kwiatkowski
authored andcommitted
fix(notification): remove notification cookie once the message is displayed (#775)
1 parent ea33acf commit 10f0644

File tree

1 file changed

+1
-0
lines changed
  • packages/theme/composables/useUiNotification

1 file changed

+1
-0
lines changed

packages/theme/composables/useUiNotification/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const useUiNotification = () => {
5858

5959
if (cookieMessage) {
6060
send(cookieMessage);
61+
app.$cookies.remove(cookieNames.messageCookieName);
6162
}
6263

6364
return {

0 commit comments

Comments
 (0)