feat(SW-322): name change

This commit is contained in:
Fredrik Thorsson
2024-10-11 14:08:27 +02:00
parent 5d1bdd9cd8
commit af71bc3ec6
3 changed files with 5 additions and 5 deletions

View File

@@ -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({
shortCutList, shortCutsListItems,
}: ShortcutsListItemsProps) { }: ShortcutsListItemsProps) {
return ( return (
<ul> <ul>
{shortCutList.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}

View File

@@ -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 shortCutList={leftColumn} /> <ShortcutsListItems shortCutsListItems={leftColumn} />
</div> </div>
<div className={classNames.rightColumn}> <div className={classNames.rightColumn}>
<ShortcutsListItems shortCutList={rightColumn} /> <ShortcutsListItems shortCutsListItems={rightColumn} />
</div> </div>
</section> </section>
</SectionContainer> </SectionContainer>

View File

@@ -5,5 +5,5 @@ export interface ShortcutsListProps extends Shortcut {
} }
export type ShortcutsListItemsProps = { export type ShortcutsListItemsProps = {
shortCutList: ShortcutsListProps["shortcuts"] shortCutsListItems: ShortcutsListProps["shortcuts"]
} }