Skip to content

Commit

Permalink
Fix the cloud icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymitr committed Sep 1, 2021
1 parent 7c67f22 commit e05d2a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/plugins/backup/src/js/components/Backups.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ const Backups = () => {
} );
const domain = useSelect( select => select( STORE_ID ).getCalypsoSlug(), [] );

const assetBuildUrl = useSelect( select => select( STORE_ID ).getAssetBuildUrl(), [] );

const BACKUP_STATE = {
LOADING: 0,
IN_PROGRESS: 1,
Expand Down Expand Up @@ -177,7 +179,7 @@ const Backups = () => {
<div className="jp-row">
<div className="lg-col-span-3 md-col-span-4 sm-col-span-4">
<div className="backup__latest">
<img src={ CloudIcon } alt="" />
<img src={ assetBuildUrl + CloudIcon } alt="" />
<h2>{ __( 'Latest Backup', 'jetpack-backup' ) }</h2>
</div>
<h1>{ formatDateString( latestTime ) }</h1>
Expand Down

0 comments on commit e05d2a4

Please sign in to comment.