Skip to content

Commit

Permalink
removed Resources from app bar
Browse files Browse the repository at this point in the history
  • Loading branch information
NishiPhalke committed Jan 2, 2024
1 parent 7d239c6 commit 9334e01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@weng-lab/psychscreen-ui-components",
"description": "Typescript and Material UI based components used for psychSCREEN",
"author": "SCREEN Team @ UMass Chan Medical School",
"version": "0.8.5",
"version": "0.8.6",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
8 changes: 0 additions & 8 deletions src/components/AppBar/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ import DropDownMenuItem from './DropDownMenuItem';
* @member onHomepageClicked event handler for when the homepage link is clicked.
* @member onAboutClicked event handler for when the about page link is clicked.
* @member onPortalClicked event handler for when the portal link is clicked.
* @member onResourcesClicked event handler for when the resources link is clicked.
* @member onDownloadsClicked event handler for when the downloads link is clicked.
*/
export type AppBarProps = MUIAppBarProps & {
onHomepageClicked?: () => void;
onAboutClicked?: () => void;
onPortalClicked?: (index: number) => void;
onResourcesClicked?: () => void;
onDownloadsClicked?: () => void;
centered?: boolean;
};
Expand Down Expand Up @@ -79,12 +77,6 @@ const AppBar: React.FC<AppBarProps> = props => (
>
Portals
</DropDownMenuItem>
<MenuItem
onClick={props.onHomepageClicked}
marginRight="32px"
>
Resources
</MenuItem>
<MenuItem
onClick={props.onDownloadsClicked}
flexGrow={1}
Expand Down

0 comments on commit 9334e01

Please sign in to comment.