mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-27 17:46:31 +00:00
more small eslint fixes
This commit is contained in:
parent
17ffab3be9
commit
60c5d691ef
|
@ -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() {
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const Promise = require("bluebird");
|
||||
const React = require("react");
|
||||
|
||||
module.exports = function ErrorFallback({error, resetErrorBoundary}) {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue