feat(SW-322): name change
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({
|
||||||
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}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ export interface ShortcutsListProps extends Shortcut {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type ShortcutsListItemsProps = {
|
export type ShortcutsListItemsProps = {
|
||||||
shortCutList: ShortcutsListProps["shortcuts"]
|
shortCutsListItems: ShortcutsListProps["shortcuts"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user