Skip to content

Commit

Permalink
name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Mar 13, 2024
1 parent 98f54f9 commit 8ed1da5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/renderer/pages/CloudSyncConfigPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function CloudSyncPageConfig() {

const modalData = {
active: true,
header: <span className="h4">Installing CloudSync</span>,
header: <span className="h4">Installing Cloud{CloudSyncType}</span>,
css: 'emumodal--xs',
body: (
<p>
Expand All @@ -216,11 +216,7 @@ function CloudSyncPageConfig() {
setStatePage({ ...statePage, disableButton: true, modal: modalData });

let cloudFunction;
if (cloudSyncType === 'Sync') {
cloudFunction = 'cloud_sync_install_and_config ';
} else {
cloudFunction = 'cloud_backup_install_and_config';
}
cloudFunction = 'cloud_sync_install_and_config ';

ipcChannel.sendMessage('emudeck', [
`cloud_saves|||${cloudFunction} ${cloudSync}`,
Expand All @@ -234,7 +230,7 @@ function CloudSyncPageConfig() {
// checkHealth();
modalData = {
active: true,
header: <span className="h4">CloudSync Configured</span>,
header: <span className="h4">Cloud{CloudSyncType} Configured</span>,
body: (
<>
<p>
Expand All @@ -256,7 +252,6 @@ function CloudSyncPageConfig() {
>
Download all saves
</BtnSimple>
{cloudSyncType === '' ? 'a' : 'b'}
<BtnSimple
css="btn-simple--1"
type="button"
Expand Down

0 comments on commit 8ed1da5

Please sign in to comment.