From 6367b01745f8ee91061cc28881bd58e6fac6723d Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 30 Apr 2024 11:46:13 -0400 Subject: [PATCH 1/2] Reinstated printRef & printPDF functions in RSCDetail.tsx - These changes were accidentally removed in a previous commit --- frontend/src/components/ReadySetCyber/RSCDetail.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ReadySetCyber/RSCDetail.tsx b/frontend/src/components/ReadySetCyber/RSCDetail.tsx index b1cf61be..70f42dff 100644 --- a/frontend/src/components/ReadySetCyber/RSCDetail.tsx +++ b/frontend/src/components/ReadySetCyber/RSCDetail.tsx @@ -71,6 +71,7 @@ export const RSCDetail: React.FC = () => { padding: 2, backgroundColor: 'white' }} + ref={printRef} > { Summary and Resources - From 12a76c5576e3571958df86fa2c1fb967aa50d7f6 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 30 Apr 2024 12:31:56 -0400 Subject: [PATCH 2/2] Updated package.json with pre-commit --- backend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 5335364b..146b2ecc 100644 --- a/backend/package.json +++ b/backend/package.json @@ -118,4 +118,4 @@ "test-python": "pytest" }, "version": "1.0.0" -} \ No newline at end of file +}