mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
moved tags to sidebar (#135)
This commit is contained in:
parent
a8ac233140
commit
b36dcca0df
13 changed files with 99 additions and 71 deletions
|
@ -1,9 +1,11 @@
|
|||
import { ProfileSidebar } from "~/containers/sidebars/ProfileSidebar";
|
||||
import { SettingsSidebar } from '~/containers/sidebars/ProfileSidebar';
|
||||
import { TagSidebar } from '~/containers/sidebars/TagSidebar';
|
||||
|
||||
import { SidebarName } from "./index";
|
||||
import { SidebarName } from './index';
|
||||
|
||||
export const sidebarComponents = {
|
||||
[SidebarName.Settings]: ProfileSidebar,
|
||||
[SidebarName.Settings]: SettingsSidebar,
|
||||
[SidebarName.Tag]: TagSidebar,
|
||||
};
|
||||
|
||||
export type SidebarComponents = typeof sidebarComponents;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { ProfileSidebar } from "~/containers/sidebars/ProfileSidebar";
|
||||
import { SettingsSidebar } from '~/containers/sidebars/ProfileSidebar';
|
||||
|
||||
export enum SidebarName {
|
||||
Settings = "settings",
|
||||
Settings = 'settings',
|
||||
Tag = 'tag',
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue