Skip to content

Commit

Permalink
chore: migrate the asset success page to TSX
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomiguelino committed Dec 27, 2024
1 parent 1af68ec commit 37f41d5
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
export const Success = ({ assetDashboardLink }) => {
interface SuccessProps {
assetDashboardLink: string;
}

export const Success: React.FC<SuccessProps> = ({ assetDashboardLink }) => {
const openAssetDashboard = () => {
window.open(assetDashboardLink);
};
Expand Down Expand Up @@ -38,6 +42,4 @@ export const Success = ({ assetDashboardLink }) => {
</div>
</div>
);
};


};

0 comments on commit 37f41d5

Please sign in to comment.