Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/navigation/sidebars/toc/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Table: Component<{
<li class="types-item props-item">
<a
class="type-anchor"
href={`#${prop}`}
href={`#prop-${prop}`}
>
<Tag />
{prop}
Expand All @@ -66,7 +66,7 @@ export const Table: Component<{
<li class="types-item func-item">
<a
class="type-anchor"
href={`#${func}`}
href={`#func-${func}`}
>
<RoundBrackets />
{func}
Expand All @@ -83,7 +83,7 @@ export const Table: Component<{
<li class="types-item signals-item">
<a
class="type-anchor"
href={`#${signal}`}
href={`#signal-${signal}`}
>
<PowerCord />
{signal}
Expand All @@ -100,7 +100,7 @@ export const Table: Component<{
<li class="types-item vars-item">
<a
class="type-anchor"
href={`#${variant}`}
href={`#variant-${variant}`}
>
<FourDiamonds />
{variant}
Expand Down
2 changes: 1 addition & 1 deletion src/components/type/Functions.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const { funcData } = Astro.props;
let genericType:string|undefined;
let genericTypeLink:string|undefined;
return (
<li id={item.name} class="typedata-root typefunc-root">
<li id={ `func-${item.name}` } class="typedata-root typefunc-root">
<TypeTitle
typekind="func"
typename={item.name}
Expand Down
2 changes: 1 addition & 1 deletion src/components/type/Properties.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const { propsKeys, propsData } = Astro.props;
genericTypeLink = getQMLTypeLink(propData.type.of)
}
return (
<li id={ item } class="typedata-root typeprop-root">
<li id={ `prop-${item}` } class="typedata-root typeprop-root">
<TypeTitle
typekind="prop"
typename={item}
Expand Down
2 changes: 1 addition & 1 deletion src/components/type/Signals.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const { signalKeys, signalsData } = Astro.props;
let genericType:string|undefined;
let genericTypeLink:string|undefined;
return (
<li id={ item } class="typedata-root typesignal-root">
<li id={ `signal-${item}` } class="typedata-root typesignal-root">
<TypeTitle
typekind="signal"
typename={item}
Expand Down
2 changes: 1 addition & 1 deletion src/components/type/Variants.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const { variantKeys, variantsData } = Astro.props;
? variantData.params.map(param => param.name)
: [];
return (
<li id={ item } class="typedata-root typevariant-root">
<li id={ `variant-${item}` } class="typedata-root typevariant-root">
<TypeTitle
typekind="variant"
typename={item}
Expand Down