Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
DarksightKellar committed Apr 19, 2024
1 parent 3da8ee7 commit fa3944d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/components/ui/menus/OptionMenu/OptionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ export function OptionsList({
return (
<>
{titleKey && (
<Text marginBottom="0.5rem" textStyle="helper-text-small" color="neutral-7">
<Text
marginBottom="0.5rem"
textStyle="helper-text-small"
color="neutral-7"
>
{t(titleKey)}
</Text>
)}
Expand Down
8 changes: 6 additions & 2 deletions src/components/ui/utils/Sort.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Divider, Flex, Icon, Menu, MenuButton, MenuItem, MenuList, Text } from '@chakra-ui/react';
import { CaretDown } from "@phosphor-icons/react";
import { CaretDown } from '@phosphor-icons/react';
import { Dispatch, SetStateAction } from 'react';
import { useTranslation } from 'react-i18next';
import { SortBy } from '../../../types';
Expand Down Expand Up @@ -56,7 +56,11 @@ export function Sort({ sortBy, setSortBy, buttonProps }: ISort) {
>
<Flex alignItems="center">
<Text>{t(sortBy)}</Text>
<Icon ml="0.25rem" p={1.25} as={CaretDown} />
<Icon
ml="0.25rem"
p={1.25}
as={CaretDown}
/>
</Flex>
</MenuButton>

Expand Down

0 comments on commit fa3944d

Please sign in to comment.