mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Linting update
This commit is contained in:
@@ -41,6 +41,7 @@ export const SettingsInterfacePanel: React.FC = () => {
|
||||
async function onSave() {
|
||||
try {
|
||||
const result = await updateInterfaceConfig();
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(result);
|
||||
Toast.success({ content: "Updated config" });
|
||||
} catch (e) {
|
||||
@@ -94,7 +95,7 @@ export const SettingsInterfacePanel: React.FC = () => {
|
||||
<Form.Control
|
||||
type="number"
|
||||
defaultValue={maximumLoopDuration}
|
||||
onChange={(event:React.FormEvent<HTMLInputElement>) => setMaximumLoopDuration(Number.parseInt(event.currentTarget.value) ?? 0)}
|
||||
onChange={(event:React.FormEvent<HTMLInputElement>) => setMaximumLoopDuration(Number.parseInt(event.currentTarget.value, 10) ?? 0)}
|
||||
min={0}
|
||||
step={1}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user