mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #20233 from overleaf/mj-restore-promo
[web] Add promotion for file/project reverting GitOrigin-RevId: 9f8e66ab2ad945274576800253d288bca5986562
This commit is contained in:
committed by
Copybot
parent
8245a95b4e
commit
7d80d22e96
@@ -81,6 +81,11 @@ export const useTutorial = (
|
||||
[setCurrentPopup, setShowPopup, tutorialKey, eventData]
|
||||
)
|
||||
|
||||
const hideUntilReload = useCallback(() => {
|
||||
clearPopup()
|
||||
deactivateTutorial(tutorialKey)
|
||||
}, [clearPopup, deactivateTutorial, tutorialKey])
|
||||
|
||||
return {
|
||||
completeTutorial,
|
||||
dismissTutorial,
|
||||
@@ -89,6 +94,7 @@ export const useTutorial = (
|
||||
clearPopup,
|
||||
clearAndShow,
|
||||
showPopup,
|
||||
hideUntilReload,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user