Skip to content

Commit 36ac16c

Browse files
committed
Fix tags dropdown naming typos
1 parent 2d94afc commit 36ac16c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/sections/blog/overview-explorer/tags-dropwdown/index.tsx renamed to src/components/sections/blog/overview-explorer/tags-dropdown/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ import {
88
StyledDropdownContentWrapper,
99
StyledDropdownItem,
1010
StyledDropdownMenuContent,
11-
} from './tags-dropdow';
11+
} from './tags-dropdown';
1212
import { useDrawerState } from '../hooks/use-drawer-state';
1313

1414
import { CaretDown, CaretUp } from '@/components/elements/icon';
1515
import { Link } from '@/components/elements/link';
1616

17-
export const TagsDropwdown = ({ tags }: { tags: string[] }) => {
17+
export const TagsDropdown = ({ tags }: { tags: string[] }) => {
1818
const { isDrawerOpen, handleOnClickTag, handleOpenChange } = useDrawerState(false);
1919

2020
const handleOnEnterCapture = (e: KeyboardEvent<HTMLDivElement>) => {

src/components/sections/blog/overview-explorer/tags-navigation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { StyledTagText, StyledTagsWrapper } from './overview-explorer.styled';
2-
import { TagsDropwdown } from './tags-dropwdown';
2+
import { TagsDropdown } from './tags-dropdown';
33

44
import { Link } from '@/components/elements/link';
55
import { getAllCategoryTags } from '@/lib/mdx/blog';
@@ -27,7 +27,7 @@ export const TagsNavigation = async () => {
2727
</li>
2828
))}
2929
<li>
30-
<TagsDropwdown tags={ramainingTags} />
30+
<TagsDropdown tags={ramainingTags} />
3131
</li>
3232
</ul>
3333
</StyledTagsWrapper>

0 commit comments

Comments
 (0)