From de36e48e2e3f6a5fb1ac76cbe1ea0ecbd11da91e Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:13:36 -0700 Subject: [PATCH] Remove unused mobileDisplay prop This was already unused in NavBar, and it is newly unused in Sidebar. --- src/components/main/index.js | 1 - src/components/main/sidebar.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/main/index.js b/src/components/main/index.js index 685ab057e..f53913048 100644 --- a/src/components/main/index.js +++ b/src/components/main/index.js @@ -149,7 +149,6 @@ class Main extends React.Component { displayNarrative={this.props.displayNarrative} panelsToDisplay={this.props.panelsToDisplay} narrativeTitle={this.props.narrativeTitle} - mobileDisplay={this.props.mobileDisplay} navBarHandler={this.toggleSidebar} /> diff --git a/src/components/main/sidebar.js b/src/components/main/sidebar.js index 80e9def89..ee077fb75 100644 --- a/src/components/main/sidebar.js +++ b/src/components/main/sidebar.js @@ -8,14 +8,13 @@ import { narrativeNavBarHeight } from "../../util/globals"; export const Sidebar = ( - {sidebarOpen, width, height, displayNarrative, panelsToDisplay, narrativeTitle, mobileDisplay, navBarHandler} + {sidebarOpen, width, height, displayNarrative, panelsToDisplay, narrativeTitle, navBarHandler} ) => { return (