summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-07-04 01:28:32 -0400
committerAAGaming <aagaming@riseup.net>2024-07-04 01:28:32 -0400
commit846995e0d32647e7396f628849731be8ac4ad77b (patch)
tree70de135d5236a975e0ac800bcfd2fb8b8916700e
parentf73aced45249a25b3e0490907b71fe45dba3b991 (diff)
downloaddecky-loader-846995e0d32647e7396f628849731be8ac4ad77b.tar.gz
decky-loader-846995e0d32647e7396f628849731be8ac4ad77b.zip
LINTERRRRRRRRRRRRRRRRRRRR
-rw-r--r--frontend/src/components/modals/PluginInstallModal.tsx5
-rw-r--r--frontend/src/components/modals/PluginUninstallModal.tsx10
2 files changed, 8 insertions, 7 deletions
diff --git a/frontend/src/components/modals/PluginInstallModal.tsx b/frontend/src/components/modals/PluginInstallModal.tsx
index d9a3b433..227bd818 100644
--- a/frontend/src/components/modals/PluginInstallModal.tsx
+++ b/frontend/src/components/modals/PluginInstallModal.tsx
@@ -58,7 +58,7 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
await onCancel();
}}
strTitle={
- <div style={{display: "flex", flexDirection: "row", alignItems: "center", width: "100%"}}>
+ <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', width: '100%' }}>
<TranslationHelper
transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
transText="title"
@@ -66,10 +66,9 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
installType={installType}
/>
{loading && (
- <div style={{marginLeft: "auto"}}>
+ <div style={{ marginLeft: 'auto' }}>
<ProgressBarWithInfo
layout="inline"
-
bottomSeparator="none"
nProgress={percentage}
sOperationText={downloadInfo}
diff --git a/frontend/src/components/modals/PluginUninstallModal.tsx b/frontend/src/components/modals/PluginUninstallModal.tsx
index a0d04102..be479859 100644
--- a/frontend/src/components/modals/PluginUninstallModal.tsx
+++ b/frontend/src/components/modals/PluginUninstallModal.tsx
@@ -27,10 +27,12 @@ const PluginUninstallModal: FC<PluginUninstallModalProps> = ({ name, title, butt
}}
bOKDisabled={uninstalling}
bCancelDisabled={uninstalling}
- strTitle={<div style={{display: "flex", flexDirection: "row", alignItems: "center", width: "100%"}}>
- {title}
- {uninstalling && <Spinner width="24px" height="24px" style={{marginLeft: "auto"}}/>}
- </div>}
+ strTitle={
+ <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', width: '100%' }}>
+ {title}
+ {uninstalling && <Spinner width="24px" height="24px" style={{ marginLeft: 'auto' }} />}
+ </div>
+ }
strOKButtonText={buttonText}
>
{description}