Skip to content

Commit

Permalink
minor: use ButtonV2
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jun 13, 2023
1 parent 3665fcb commit b7b30ad
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/Components/Resource/ResourceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,9 @@ export default function ResourceDetails(props: { id: string }) {
) : (
<div className="mx-3 md:mx-8 mb-10">
<div className="my-4 flex flex-col items-start md:flex-row md:justify-between md:items-center">
<div>
<button
onClick={(_) => setIsPrintMode(true)}
className="btn btn-primary"
>
<i className="fas fa-file-alt mr-2"></i> Approval Letter
</button>
</div>
<ButtonV2 onClick={(_) => setIsPrintMode(true)}>
<i className="fas fa-file-alt mr-2"></i> Approval Letter
</ButtonV2>
</div>
{data.assigned_to_object && (
<div className="relative rounded-lg shadow bg-primary-200">
Expand Down

0 comments on commit b7b30ad

Please sign in to comment.