From 764af3a5dbba0cece9c06a38d035ff5320387dfe Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 21 Aug 2020 00:13:47 -0400 Subject: [PATCH] wrap IS_MAC statements inside app ifdef --- ui/component/sideNavigation/view.jsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index 7258354b9..6d339636a 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -6,7 +6,9 @@ import React from 'react'; import Button from 'component/button'; import classnames from 'classnames'; import NotificationBubble from 'component/notificationBubble'; +// @if TARGET='app' import { IS_MAC } from 'component/app/view'; +// @endif const ESCAPE_KEY_CODE = 27; const BACKSLASH_KEY_CODE = 220; @@ -242,7 +244,14 @@ function SideNavigation(props: Props) { })} > {!isOnFilePage && ( -