We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a339551 commit fae6fbfCopy full SHA for fae6fbf
src/client/apps/contwatch-client/app/[lang]/swrUtils.ts
@@ -5,7 +5,6 @@ import { Endpoint } from "@repo/utils/endpoints";
5
import { getApiEndpoint } from "@repo/utils/getApiEndpoint";
6
import useSWR from "swr";
7
8
-
9
export const useAttributeChart = (attributeIds: number[], date?: string) => {
10
return useSWR<AttributeChartModel[]>(
11
`${getApiEndpoint(Endpoint.attributeChart)}/${attributeIds.join(",")}/${attributeIds.length > 0 ? (date ?? "") : ""}`,
0 commit comments