Skip to content

Commit

Permalink
merge-upstream: remove unused onClickTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jan 9, 2024
1 parent 6a04b76 commit e88fe58
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/components/gui/gui.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ const GUIComponent = props => {
onCloseAccountNav,
onClickAddonSettings,
onClickNewWindow,
onClickTheme,
onClickPackager,
onLogOut,
onOpenRegistration,
Expand Down Expand Up @@ -293,7 +292,6 @@ const GUIComponent = props => {
onClickAccountNav={onClickAccountNav}
onClickAddonSettings={onClickAddonSettings}
onClickNewWindow={onClickNewWindow}
onClickTheme={onClickTheme}
onClickPackager={onClickPackager}
onClickLogo={onClickLogo}
onCloseAccountNav={onCloseAccountNav}
Expand Down Expand Up @@ -483,7 +481,6 @@ GUIComponent.propTypes = {
onClickAccountNav: PropTypes.func,
onClickAddonSettings: PropTypes.func,
onClickNewWindow: PropTypes.func,
onClickTheme: PropTypes.func,
onClickPackager: PropTypes.func,
onClickLogo: PropTypes.func,
onCloseAccountNav: PropTypes.func,
Expand Down
1 change: 0 additions & 1 deletion src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,6 @@ MenuBar.propTypes = {
]),
onClickAccount: PropTypes.func,
onClickAddonSettings: PropTypes.func,
onClickTheme: PropTypes.func,
onClickPackager: PropTypes.func,
onClickRestorePoints: PropTypes.func,
onClickEdit: PropTypes.func,
Expand Down
4 changes: 0 additions & 4 deletions src/playground/render-interface.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ class Interface extends React.Component {
isLoading,
isPlayerOnly,
isRtl,
onClickTheme,
projectId,
/* eslint-enable no-unused-vars */
...props
Expand All @@ -226,7 +225,6 @@ class Interface extends React.Component {
canChangeTheme
enableSeeInside
onClickAddonSettings={handleClickAddonSettings}
onClickTheme={onClickTheme}
/>
</div>
) : null}
Expand All @@ -240,7 +238,6 @@ class Interface extends React.Component {
{isHomepage && announcement ? <DOMElementRenderer domElement={announcement} /> : null}
<GUI
onClickAddonSettings={handleClickAddonSettings}
onClickTheme={onClickTheme}
onUpdateProjectTitle={this.handleUpdateProjectTitle}
backpackVisible
backpackHost="_local_"
Expand Down Expand Up @@ -356,7 +353,6 @@ Interface.propTypes = {
isLoading: PropTypes.bool,
isPlayerOnly: PropTypes.bool,
isRtl: PropTypes.bool,
onClickTheme: PropTypes.func,
projectId: PropTypes.string
};

Expand Down

0 comments on commit e88fe58

Please sign in to comment.