Skip to content

Commit

Permalink
wip: Rollback post history component to main
Browse files Browse the repository at this point in the history
  • Loading branch information
carina-akaia committed Oct 18, 2023
1 parent fe7ab6f commit f76d7b4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/gigs-board/entity/post/History.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const post =
post_id: postId,
});
if (!post || !post.snapshot_history) {
return <div className="bi bi-clock-history px-2"></div>;
return <div class="bi bi-clock-history px-2"></div>;
}
const referral = props.referral;

Expand All @@ -91,20 +91,20 @@ snapshotHistory.push(snapshot);
snapshotHistory.reverse();

const history = (
<div className="btn-group" role="group">
<div class="btn-group" role="group">
<a
className="card-link"
class="card-link"
role="button"
title="Post History"
data-bs-toggle="dropdown"
aria-expanded="false"
type="button"
>
<div className="bi bi-clock-history px-2"></div>
<div class="bi bi-clock-history px-2"></div>
</a>
<ul className="dropdown-menu">
<ul class="dropdown-menu">
<a
className="d-flex text-muted"
class="d-flex text-muted"
style={{ fontSize: "12px", textDecoration: "none", cursor: "default" }}
>
<a
Expand All @@ -129,7 +129,7 @@ const history = (
}}
>
<a
className="dropdown-item"
class="dropdown-item"
href={href("Post", {
id: postId,
timestamp: item.timestamp,
Expand Down Expand Up @@ -157,15 +157,15 @@ const history = (
</a>
</div>
<a
className="dropdown-item"
class="dropdown-item"
href={href("Post", {
id: postId,
timestamp: currentTimestamp,
compareTimestamp: item.timestamp,
referral,
})}
>
<i className="bi bi-file-earmark-diff" />
<i class="bi bi-file-earmark-diff" />
</a>
</li>
);
Expand Down

0 comments on commit f76d7b4

Please sign in to comment.