From 59ec1c6cee2e8150f70fea13464af5715ee2b9b8 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Fri, 9 Sep 2022 13:53:38 +0200 Subject: [PATCH] fix: zen-mode exit button not working (#5682) --- src/components/Actions.tsx | 6 +++--- src/components/Footer.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Actions.tsx b/src/components/Actions.tsx index 8cd1d2ab..1ba40ba0 100644 --- a/src/components/Actions.tsx +++ b/src/components/Actions.tsx @@ -286,17 +286,17 @@ export const UndoRedoActions = ({ ); export const ExitZenModeAction = ({ - executeAction, + actionManager, showExitZenModeBtn, }: { - executeAction: ActionManager["executeAction"]; + actionManager: ActionManager; showExitZenModeBtn: boolean; }) => ( diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 420aeb6a..0fbcd73d 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -96,7 +96,7 @@ const Footer = ({ {actionManager.renderAction("toggleShortcuts")}