more small eslint fixes

This commit is contained in:
f0x 2022-11-07 20:10:18 +00:00
parent 17ffab3be9
commit 60c5d691ef
3 changed files with 2 additions and 3 deletions

View file

@ -31,7 +31,7 @@ const adminActions = require("../redux/reducers/instances").actions;
const {
TextInput,
TextArea,
File
_File
} = require("../components/form-fields").formFields(adminActions.setAdminSettingsVal, (state) => state.instances.adminSettings);
module.exports = function AdminSettings() {

View file

@ -18,7 +18,6 @@
"use strict";
const Promise = require("bluebird");
const React = require("react");
module.exports = function ErrorFallback({error, resetErrorBoundary}) {

View file

@ -21,7 +21,7 @@
const React = require("react");
const prettierBytes = require("prettier-bytes");
module.exports = function useFileInput({name, Name}, {
module.exports = function useFileInput({name, _Name}, {
withPreview,
maxSize,
initialInfo = "no file selected"