Skip to content

Commit

Permalink
chore: typo correction
Browse files Browse the repository at this point in the history
  • Loading branch information
EthnTuttle committed Jul 20, 2023
1 parent 8be1467 commit f8c35ac
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions apps/guardian-ui/src/components/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ReactComponent as SettingsIcon } from '../assets/svgs/settings.svg';
import { ReactComponent as AccountIcon } from '../assets/svgs/account.svg';
import Logo from '../assets/images/Fedimint-Full.png';

export interface SiderBarItemProps {
export interface SideBarItemProps {
navText: string;
onClick?: () => void;
icon?: React.ReactElement<
Expand All @@ -20,7 +20,7 @@ export interface SiderBarItemProps {
heading?: boolean;
}

const SiderBarItem: FC<SiderBarItemProps> = ({
const SideBarItem: FC<SideBarItemProps> = ({
navText,
onClick,
icon,
Expand Down Expand Up @@ -93,36 +93,36 @@ export const SideBar: FC = () => {
/>
</Box>
<Stack spacing='4px'>
<SiderBarItem navText='Dashboard' icon={<HomeIcon />} />
<SiderBarItem
<SideBarItem navText='Dashboard' icon={<HomeIcon />} />
<SideBarItem
navText='Guardians'
icon={<GuardianIcon />}
navTextAmount={8}
/>
<SiderBarItem
<SideBarItem
navText='Modules'
icon={<ModulesIcon />}
navTextAmount={3}
/>
<SiderBarItem navText='Settings' icon={<SettingsIcon />} />
<SideBarItem navText='Settings' icon={<SettingsIcon />} />
</Stack>
<Divider />
<SiderBarItem navText='My account' icon={<AccountIcon />} />
<SideBarItem navText='My account' icon={<AccountIcon />} />
<Divider />
<Stack spacing='4px'>
<SiderBarItem navText='RESOURCES' color='#A1A1A1' heading={true} />
<SiderBarItem navText='Fedimint guide' />
<SiderBarItem navText='FAQs' />
<SideBarItem navText='RESOURCES' color='#A1A1A1' heading={true} />
<SideBarItem navText='Fedimint guide' />
<SideBarItem navText='FAQs' />
</Stack>
<Divider />
<Stack spacing='4px'>
<SiderBarItem
<SideBarItem
navText='FEDERATION INFO'
color='#A1A1A1'
heading={true}
/>
<SiderBarItem navText='API version 1.0' />
<SiderBarItem navText='Consensus version 1.0' />
<SideBarItem navText='API version 1.0' />
<SideBarItem navText='Consensus version 1.0' />
</Stack>
</Stack>
</Flex>
Expand Down

0 comments on commit f8c35ac

Please sign in to comment.