1
0
Fork 0
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:
muerwre 2022-08-15 12:33:50 +07:00 committed by GitHub
parent a8ac233140
commit b36dcca0df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 99 additions and 71 deletions

View file

@ -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;

View file

@ -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',
}