Skip to content

Commit

Permalink
final final tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerc99 committed Feb 25, 2024
1 parent c1a0216 commit 0e21e17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/experiments/two/two.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,16 @@ const CursorController = withSharedState(
<h2>cursor inventory</h2>
<div className="cursors">
<div
className="cursor"
className={`cursor ${"" === userCursor ? "active" : ""}`}
onClick={() => {
document.body.style.cursor = "";
setUserCursor("");
}}
>
original
<div className="count">
{awareness.filter((a) => a.cursorUrl === "").length}
</div>
</div>
{cursors.map((cursor) => (
<div
Expand Down

0 comments on commit 0e21e17

Please sign in to comment.