diff --git a/src/photos/ducks/backup/components/BackupActions.jsx b/src/photos/ducks/backup/components/BackupActions.jsx index 56a23ff7c..ea3a7bf39 100644 --- a/src/photos/ducks/backup/components/BackupActions.jsx +++ b/src/photos/ducks/backup/components/BackupActions.jsx @@ -1,4 +1,4 @@ -import React from 'react' +import React, { useState, useEffect } from 'react' import Button from 'cozy-ui/transpiled/react/Buttons' import Icon from 'cozy-ui/transpiled/react/Icon' @@ -11,6 +11,23 @@ import { useBackupActions } from '../hooks/useBackupActions' import { useBackupData } from '../hooks/useBackupData' import OpenBackupButton from 'photos/ducks/backup/components/OpenBackupButton' +const DisabledLoadingBackupButton = () => { + const { t } = useI18n() + + return ( +