Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag committed May 9, 2024
1 parent 8a9a17b commit af5d158
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/berlin/src/pages/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useState } from 'react';
import { useParams } from 'react-router-dom';
import BackButton from '../components/back-button';
import { FlexColumn } from '../components/containers/FlexColum.styled';
import { Grid } from '../components/containers/Grid.styled';
import ResultCard from '../components/result-card';
import StatsCard from '../components/stats-card';
import ResultsColumns from '../components/results-columns';
Expand All @@ -24,7 +23,7 @@ function Results() {
});

const { data: statistics } = useQuery({
queryKey: ['cycles', cycleId, 'forumQuestions', 0, 'statistics'],
queryKey: ['cycles', cycleId, 'forumQuestions', 0, 'statistics', cycle?.forumQuestions[0].id],
queryFn: () => fetchForumQuestionStatistics(cycle?.forumQuestions[0].id || ''),
enabled: !!cycle?.id,
retry: false,
Expand Down

0 comments on commit af5d158

Please sign in to comment.