fix(SW-1886): Removed "firstItem" props from blocks as it generates multiple h1 tags on those pages
* feat(SW-1886): Removed "firstItem" props from blocks as it generates multiple h1 tags on those pages Approved-by: Fredrik Thorsson Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import type { CardsGrid } from "@/types/trpc/routers/contentstack/blocks"
|
||||
|
||||
export interface CardsGridProps extends Pick<CardsGrid, "cards_grid"> {
|
||||
firstItem?: boolean
|
||||
}
|
||||
export interface CardsGridProps extends Pick<CardsGrid, "cards_grid"> {}
|
||||
|
||||
@@ -3,20 +3,8 @@ import type { DynamicContent } from "@/types/trpc/routers/contentstack/blocks"
|
||||
interface PartialDynamicContent
|
||||
extends Pick<DynamicContent, "dynamic_content"> {}
|
||||
|
||||
export interface DynamicContentProps extends PartialDynamicContent {
|
||||
firstItem: boolean
|
||||
}
|
||||
|
||||
export interface HowItWorksProps extends PartialDynamicContent {
|
||||
firstItem: boolean
|
||||
}
|
||||
|
||||
export interface LoyaltyLevelsProps extends PartialDynamicContent {
|
||||
firstItem: boolean
|
||||
}
|
||||
|
||||
export interface OverviewTableProps extends PartialDynamicContent {
|
||||
firstItem: boolean
|
||||
}
|
||||
|
||||
export interface DynamicContentProps extends PartialDynamicContent {}
|
||||
export interface HowItWorksProps extends PartialDynamicContent {}
|
||||
export interface LoyaltyLevelsProps extends PartialDynamicContent {}
|
||||
export interface OverviewTableProps extends PartialDynamicContent {}
|
||||
export interface SignupFormWrapperProps extends PartialDynamicContent {}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import type { Shortcut } from "@/types/trpc/routers/contentstack/blocks"
|
||||
|
||||
export interface ShortcutsListProps extends Shortcut {
|
||||
firstItem?: boolean
|
||||
}
|
||||
export interface ShortcutsListProps extends Shortcut {}
|
||||
|
||||
export type ShortcutsListItemsProps = {
|
||||
className?: string
|
||||
|
||||
Reference in New Issue
Block a user