Skip to content

Commit

Permalink
Last of the formatting!
Browse files Browse the repository at this point in the history
  • Loading branch information
arntsonl committed Sep 24, 2024
1 parent aed3e47 commit a0d9497
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions www/src/Pages/SettingsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ const SHA256 = (ascii) => {

const INPUT_MODES = [
{ labelKey: 'input-mode-options.xinput',
value: 0,
group: 'primary',
optional: ['usb'],
authentication: ['none', 'usb'],
},
value: 0,
group: 'primary',
optional: ['usb'],
authentication: ['none', 'usb'],
},
{
labelKey: 'input-mode-options.nintendo-switch',
value: 1,
Expand Down Expand Up @@ -960,28 +960,28 @@ export default function SettingsPage() {
)}
</div>
);
case 'input-mode-options.xinput':
return (
<div className="row mb-3">
{generateAuthSelection(
case 'input-mode-options.xinput':
return (
<div className="row mb-3">
{generateAuthSelection(
inputMode,
t('SettingsPage:auth-settings-label'),
'xinputAuthType',
values.xinputAuthType,
errors.xinputAuthType,
handleChange,
)}
<Row className="mb-3">
<Col sm={10}>
<Trans
ns="SettingsPage"
i18nKey="xinput-mode-text"
components={{ span: <span className="text-success" /> }}
/>
</Col>
</Row>
</div>
);
<Row className="mb-3">
<Col sm={10}>
<Trans
ns="SettingsPage"
i18nKey="xinput-mode-text"
components={{ span: <span className="text-success" /> }}
/>
</Col>
</Row>
</div>
);
case 'input-mode-options.xbone':
return (
<div className="row mb-3">
Expand Down

0 comments on commit a0d9497

Please sign in to comment.