From 162035b7b543c89c2a40f1a0fd160f9038dca9e6 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Wed, 13 Oct 2021 00:34:14 +0100 Subject: [PATCH] Fix react errors on no published versions for crate --- chartered-frontend/src/pages/crate/CrateView.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/chartered-frontend/src/pages/crate/CrateView.tsx b/chartered-frontend/src/pages/crate/CrateView.tsx index 7f60f1c..d109b8c 100644 --- a/chartered-frontend/src/pages/crate/CrateView.tsx +++ a/chartered-frontend/src/pages/crate/CrateView.tsx @@ -120,7 +120,7 @@ {crate} -

{crateVersion.vers}

+

{crateVersion?.vers}

{crateInfo.description}

@@ -227,14 +227,14 @@