From 8b72ba22b5905a1d36ff61e71a748e00a4c0d6c1 Mon Sep 17 00:00:00 2001
From: Fabian Engelniederhammer <fabian.engelniederhammer@tngtech.com>
Date: Mon, 27 Jan 2025 10:23:20 +0100
Subject: [PATCH] docs(components): gs-wastewater-mutations-over-time: remove
 misplaced link in attribute docs

---
 .../wastewater-mutations-over-time.stories.tsx            | 8 ++------
 .../gs-wastewater-mutations-over-time.stories.ts          | 3 +++
 .../gs-wastewater-mutations-over-time.tsx                 | 2 --
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/components/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.stories.tsx b/components/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.stories.tsx
index c30516c4..788139bd 100644
--- a/components/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.stories.tsx
+++ b/components/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.stories.tsx
@@ -30,12 +30,7 @@ const Template = {
     render: (args: WastewaterMutationsOverTimeProps) => (
         <LapisUrlContext.Provider value={WISE_LAPIS_URL}>
             <ReferenceGenomeContext.Provider value={referenceGenome}>
-                <WastewaterMutationsOverTime
-                    width={args.width}
-                    height={args.height}
-                    lapisFilter={args.lapisFilter}
-                    sequenceType={args.sequenceType}
-                />
+                <WastewaterMutationsOverTime {...args} />
             </ReferenceGenomeContext.Provider>
         </LapisUrlContext.Provider>
     ),
@@ -48,6 +43,7 @@ export const Default: StoryObj<WastewaterMutationsOverTimeProps> = {
         height: '700px',
         lapisFilter: {},
         sequenceType: 'nucleotide',
+        maxNumberOfGridRows: 100,
     },
     parameters: {
         fetchMock: {
diff --git a/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.stories.ts b/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.stories.ts
index 31214229..c2771955 100644
--- a/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.stories.ts
+++ b/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.stories.ts
@@ -14,6 +14,7 @@ const codeExample = String.raw`
     sequenceType='nucleotide'
     width='100%'
     height='700px'
+    maxNumberOfGridRows='100'
 >
     <span slot="infoText">Some info text</span>
 </gs-wastewater-mutations-over-time>`;
@@ -36,6 +37,7 @@ const meta: Meta<WastewaterMutationsOverTimeProps & { infoText: string }> = {
         width: '100%',
         height: '700px',
         infoText: 'Some info text',
+        maxNumberOfGridRows: 100,
     },
     parameters: withComponentDocs({
         componentDocs: {
@@ -58,6 +60,7 @@ export const WastewaterMutationsOverTime: StoryObj<WastewaterMutationsOverTimePr
                 .sequenceType=${args.sequenceType}
                 .width=${args.width}
                 .height=${args.height}
+                .maxNumberOfGridRows=${args.maxNumberOfGridRows}
             >
                 <span slot="infoText">${args.infoText}</span>
             </gs-wastewater-mutations-over-time>
diff --git a/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.tsx b/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.tsx
index 09734f20..5abb246c 100644
--- a/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.tsx
+++ b/components/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.tsx
@@ -67,8 +67,6 @@ export class WastewaterMutationsOverTimeComponent extends PreactLitAdapterWithGr
 
     /**
      * The maximum number of grid rows to display.
-     *
-     * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.
      */
     @property({ type: Number })
     maxNumberOfGridRows: number = 100;