From 219a12d84cc7c35186fbf5e61fbb431ae6051048 Mon Sep 17 00:00:00 2001 From: Emily Liu Date: Sat, 22 Aug 2020 20:05:42 -0400 Subject: [PATCH] sslops page finished --- app/SSLOps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/SSLOps.js b/app/SSLOps.js index cb9aa70..33da5b8 100644 --- a/app/SSLOps.js +++ b/app/SSLOps.js @@ -22,11 +22,11 @@ import { url } from './resources/fetchInfo.json'; const SSLElement = ({item}) => { const [visible, setVisible] = useState(0) - const extra = visible?({'\n'}{item.item.title} {"\n\n"}Details: {item.item.text}{"\n\n"}Where: {item.item.loc}{"\n\n"}Teacher: {item.item.teacher}):(<>); + const extra = visible?({'\n'}Details: {item.item.text}{"\n\n"}Where: {item.item.loc}{"\n\n"}Teacher: {item.item.teacher}):(<>); return( setVisible(!visible)} activeOpacity={0.8}> - {item.item.name} + {item.item.title} {extra}