diff --git a/client/src/components/Level.tsx b/client/src/components/Level.tsx index 1953780..898955a 100644 --- a/client/src/components/Level.tsx +++ b/client/src/components/Level.tsx @@ -192,7 +192,6 @@ function PlayableLevel({worldId, levelId}) { // If this state is set to a pair `(name, type)` then the according doc will be open. const [inventoryDoc, setInventoryDoc] = useState<{name: string, type: string}>(null) - // TODO: This seems like a useless wrapper to me function openInventoryDoc(name, type) { setInventoryDoc({name, type}) } @@ -204,75 +203,75 @@ function PlayableLevel({worldId, levelId}) { return <>
{level?.data?.descrFormat}{level?.data?.descrFormat}