Skip to content

Commit

Permalink
temporarily revert benchmark_id to task_id for review.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
canjalal committed Jan 10, 2025
1 parent 08ef34a commit fe82ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/benchmarks/[benchmark_id]/review.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const ReviewPage = () => {
const { benchmark_id } = router.query;
const { data: task, isLoading } = trpc.iep.getBenchmarkAndTrialData.useQuery(
{
task_id: benchmark_id as string,
task_id: benchmark_id as string, // how does this line make sense?
},
{
enabled: Boolean(benchmark_id),
Expand Down

0 comments on commit fe82ce4

Please sign in to comment.