Skip to content

Commit

Permalink
chore: clean up #757
Browse files Browse the repository at this point in the history
  • Loading branch information
davydocsurg committed Dec 4, 2023
1 parent f3deb23 commit 79a6a6f
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 372 deletions.
100 changes: 0 additions & 100 deletions src/dictionaries/seed.js

This file was deleted.

29 changes: 0 additions & 29 deletions src/middleware/authorization.js

This file was deleted.

117 changes: 0 additions & 117 deletions src/pages/about.js

This file was deleted.

12 changes: 10 additions & 2 deletions src/pages/components/Sidebar/SidebarItem.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
import React from 'react';
import { Box, Flex } from '@chakra-ui/react';
import { Box, Flex, FlexProps } from '@chakra-ui/react';

interface IconType {
size?: string | number | boolean;
}

interface SidebarItemProps {
interface SidebarItemProps extends FlexProps {
icon: React.ReactElement<IconType>;
href: string;
children: React.ReactNode;
activeBgColor?: string;
activeTextColor?: string;
_active?: {
bg: string;
};
_hover?: {
bg?: string;
color?: string;
};
mb?: number;
}

const SidebarItem = ({ icon, href, children, activeBgColor, activeTextColor }: SidebarItemProps) => (
Expand Down
102 changes: 0 additions & 102 deletions src/pages/components/Statistics/Statistics.js

This file was deleted.

13 changes: 0 additions & 13 deletions src/pages/components/UserInformation/UserInfo.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/components/UserInformation/index.js

This file was deleted.

Loading

0 comments on commit 79a6a6f

Please sign in to comment.