Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding new file icon to bottom of sidebar
Browse files Browse the repository at this point in the history
David Boyne authored and David Boyne committed Nov 26, 2021
1 parent 28286f3 commit 15b0ca0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -62,11 +62,6 @@ export const Sidebar: React.FunctionComponent<SidebarProps> = () => {

const navigation: NavItem[] = [
// navigation
{
name: 'newFile',
state: () => sidebarState.panels.newFile.get(),
icon: <VscNewFile className="w-5 h-5" />,
},
{
name: 'navigation',
state: () => sidebarState.panels.navigation.get(),
@@ -90,6 +85,11 @@ export const Sidebar: React.FunctionComponent<SidebarProps> = () => {
state: () => sidebarState.panels.view.get() && sidebarState.panels.viewType.get() === 'visualiser',
icon: <VscGraph className="w-5 h-5" />,
},
{
name: 'newFile',
state: () => sidebarState.panels.newFile.get(),
icon: <VscNewFile className="w-5 h-5" />,
},
];

return (

0 comments on commit 15b0ca0

Please sign in to comment.