Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
change how code comments are done show they do not show up in UI (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
macpd authored Jun 16, 2021
1 parent 410ccd5 commit 93d94f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UserClusterAdUnit.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const UserClusterAdUnit = (params) => {

return (
<div className="ad-unit">
// Allow delete only for owner of the cluster
{/* Allow delete only for owner of the cluster */}
{params.canDelete ?
<ActionBar ad_cluster_id={params.ad_cluster_id} archive_id={params.ad.archive_id} refresh={params.refresh} mode="ad"/> :
<div></div>}
Expand Down Expand Up @@ -65,7 +65,7 @@ const UserClusterAdUnit = (params) => {
key={params.ad.archive_id}
/>
{" "}
// Allow adding to user cluster only in the similar ads page
{/* Allow adding to user cluster only in the similar ads page */}
{ params.showAddToClusterButton ?
<AddToUserClusterButton
archive_ids={[params.ad.archive_id]}
Expand Down

0 comments on commit 93d94f2

Please sign in to comment.