Skip to content

Commit ec0fb18

Browse files
committed
switching branch
1 parent ab95470 commit ec0fb18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/src/Dashboard/Project.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ const Project = ({
9696
<h3>Likes: { likes }</h3>
9797
<div>
9898
<button onClick={ handleLike }>like me!</button>
99-
<button onClick={ handleDownload }>download me!</button>
99+
{
100+
currUsername !== username
101+
? <button onClick={ handleDownload }>download me!</button>
102+
: null
103+
}
100104
<button onClick={ handleDelete }>delete</button>
101105
</div>
102106
</div>

0 commit comments

Comments
 (0)