From a35297728ca985d9bc501965d97777db29a13265 Mon Sep 17 00:00:00 2001 From: Brandon Egger Date: Tue, 29 Aug 2023 10:54:32 -0500 Subject: [PATCH] fix bar chart not appearing on some pages --- src/components/LoadingBarChart.tsx | 2 +- src/server/api/routers/auditoryResources.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LoadingBarChart.tsx b/src/components/LoadingBarChart.tsx index 74f1d39..18d3080 100644 --- a/src/components/LoadingBarChart.tsx +++ b/src/components/LoadingBarChart.tsx @@ -12,7 +12,7 @@ export const LoadingBarChart = ({
loading content diff --git a/src/server/api/routers/auditoryResources.ts b/src/server/api/routers/auditoryResources.ts index bf56fd0..fde2735 100644 --- a/src/server/api/routers/auditoryResources.ts +++ b/src/server/api/routers/auditoryResources.ts @@ -28,7 +28,7 @@ export const auditoryResourceRouter = createTRPCRouter({ }); if (!resource) { - throw Error('not found'); + throw Error("not found"); } return resource;