Merge pull request #31329 from overleaf/mj-dark-mode-notification
[web] Introduce notification for dashboard dark mode GitOrigin-RevId: da5045d412ddc87a4b18823a4a5fa3192fe15c89
This commit is contained in:
committed by
Copybot
parent
55c3b6b7ea
commit
498c89c6ed
@@ -2,7 +2,7 @@ import { useCallback, useState } from 'react'
|
||||
import * as eventTracking from '@/infrastructure/event-tracking'
|
||||
import { postJSON } from '@/infrastructure/fetch-json'
|
||||
import { debugConsole } from '@/utils/debugging'
|
||||
import { useEditorContext } from '@/shared/context/editor-context'
|
||||
import { useTutorialContext } from '@/shared/context/tutorial-context'
|
||||
|
||||
type CompleteTutorialParams = {
|
||||
event: string
|
||||
@@ -22,7 +22,7 @@ const useTutorial = (
|
||||
const [showPopup, setShowPopup] = useState(false)
|
||||
|
||||
const { deactivateTutorial, currentPopup, setCurrentPopup } =
|
||||
useEditorContext()
|
||||
useTutorialContext()
|
||||
|
||||
const completeTutorial = useCallback(
|
||||
async (
|
||||
|
||||
Reference in New Issue
Block a user