From 221f60c48c2df731a11102fb210defe55381e76d Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 23 Dec 2022 16:27:11 -0800 Subject: [PATCH] Fix build errors --- components/FilterBar/index.scss | 2 +- components/GridRep/index.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/FilterBar/index.scss b/components/FilterBar/index.scss index 5787a887..fe2dbabf 100644 --- a/components/FilterBar/index.scss +++ b/components/FilterBar/index.scss @@ -60,7 +60,7 @@ img { $diameter: $unit * 6; - border-radius: $diameter / 2; + border-radius: calc($diameter / 2); height: $diameter; width: $diameter; diff --git a/components/GridRep/index.tsx b/components/GridRep/index.tsx index d34bc05f..f353a8ed 100644 --- a/components/GridRep/index.tsx +++ b/components/GridRep/index.tsx @@ -119,14 +119,14 @@ const GridRep = (props: Props) => { } const userImage = () => { - if (props.user && props.user.picture) { + if (props.user && props.user.avatar) { return ( {props.user.picture.picture} ) } else return