From fb7fad829aa453fccc3db90d54a02cfc0e509b68 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Tue, 21 Sep 2021 17:08:02 -0400 Subject: [PATCH] nicer --- src/games/GamesBrowser.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/games/GamesBrowser.tsx b/src/games/GamesBrowser.tsx index a025b85..f00f70b 100644 --- a/src/games/GamesBrowser.tsx +++ b/src/games/GamesBrowser.tsx @@ -1,6 +1,7 @@ import React, { useState } from "react"; import games from "./games"; import { useUser } from "../user-context"; +import SmoothCollapse from "react-smooth-collapse"; function GamesBrowser() { const { user } = useUser(); @@ -21,14 +22,16 @@ function GamesBrowser() {

handleTitleClick(id)}> - {open ? "🞃" : "🞂"} {title} + {title}

{done ? "✅" : ""}

- {open && } + + + })}