feat(SW-322): fix typo
This commit is contained in:
@@ -7,11 +7,11 @@ import styles from "./shortcutsListItems.module.css"
|
|||||||
import type { ShortcutsListItemsProps } from "@/types/components/blocks/shortcuts"
|
import type { ShortcutsListItemsProps } from "@/types/components/blocks/shortcuts"
|
||||||
|
|
||||||
export default function ShortcutsListItems({
|
export default function ShortcutsListItems({
|
||||||
shortCutsListItems,
|
shortcutsListItems,
|
||||||
}: ShortcutsListItemsProps) {
|
}: ShortcutsListItemsProps) {
|
||||||
return (
|
return (
|
||||||
<ul>
|
<ul>
|
||||||
{shortCutsListItems.map((shortcut) => (
|
{shortcutsListItems.map((shortcut) => (
|
||||||
<li key={shortcut.title} className={styles.listItem}>
|
<li key={shortcut.title} className={styles.listItem}>
|
||||||
<Link
|
<Link
|
||||||
href={shortcut.url}
|
href={shortcut.url}
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ export default function ShortcutsList({
|
|||||||
<SectionHeader preamble={subtitle} title={title} topTitle={firstItem} />
|
<SectionHeader preamble={subtitle} title={title} topTitle={firstItem} />
|
||||||
<section className={classNames.section}>
|
<section className={classNames.section}>
|
||||||
<div className={classNames.leftColumn}>
|
<div className={classNames.leftColumn}>
|
||||||
<ShortcutsListItems shortCutsListItems={leftColumn} />
|
<ShortcutsListItems shortcutsListItems={leftColumn} />
|
||||||
</div>
|
</div>
|
||||||
<div className={classNames.rightColumn}>
|
<div className={classNames.rightColumn}>
|
||||||
<ShortcutsListItems shortCutsListItems={rightColumn} />
|
<ShortcutsListItems shortcutsListItems={rightColumn} />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</SectionContainer>
|
</SectionContainer>
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ export interface ShortcutsListProps extends Shortcut {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type ShortcutsListItemsProps = {
|
export type ShortcutsListItemsProps = {
|
||||||
shortCutsListItems: ShortcutsListProps["shortcuts"]
|
shortcutsListItems: ShortcutsListProps["shortcuts"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user