From 41a5acc7b6fad58914dd0c848850e0e324405c33 Mon Sep 17 00:00:00 2001 From: Vitomir Budimir Date: Thu, 19 Dec 2024 12:32:48 +0100 Subject: [PATCH] fix(editor-ui): welcome modal localStorage key naming convention --- .../editor/src/editor-ui/welcome-modal/use-welcome-modal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/editor-ui/welcome-modal/use-welcome-modal.ts b/packages/editor/src/editor-ui/welcome-modal/use-welcome-modal.ts index 5fbb1da8ff..b7ce5445c6 100644 --- a/packages/editor/src/editor-ui/welcome-modal/use-welcome-modal.ts +++ b/packages/editor/src/editor-ui/welcome-modal/use-welcome-modal.ts @@ -3,7 +3,7 @@ import { pipe } from 'fp-ts/lib/function' import * as t from 'io-ts' import { useEffect, useState } from 'react' -const localStorageKey = 'hasUserSeenWelcomeModal' +const localStorageKey = 'serlo-editor::hasUserSeenWelcomeModal' export const useWelcomeModal = () => { const [isOpen, setIsOpen] = useState(false)