mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-28 10:06: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 {
|
const {
|
||||||
TextInput,
|
TextInput,
|
||||||
TextArea,
|
TextArea,
|
||||||
File
|
_File
|
||||||
} = require("../components/form-fields").formFields(adminActions.setAdminSettingsVal, (state) => state.instances.adminSettings);
|
} = require("../components/form-fields").formFields(adminActions.setAdminSettingsVal, (state) => state.instances.adminSettings);
|
||||||
|
|
||||||
module.exports = function AdminSettings() {
|
module.exports = function AdminSettings() {
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
const Promise = require("bluebird");
|
|
||||||
const React = require("react");
|
const React = require("react");
|
||||||
|
|
||||||
module.exports = function ErrorFallback({error, resetErrorBoundary}) {
|
module.exports = function ErrorFallback({error, resetErrorBoundary}) {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
const React = require("react");
|
const React = require("react");
|
||||||
const prettierBytes = require("prettier-bytes");
|
const prettierBytes = require("prettier-bytes");
|
||||||
|
|
||||||
module.exports = function useFileInput({name, Name}, {
|
module.exports = function useFileInput({name, _Name}, {
|
||||||
withPreview,
|
withPreview,
|
||||||
maxSize,
|
maxSize,
|
||||||
initialInfo = "no file selected"
|
initialInfo = "no file selected"
|
||||||
|
|
Loading…
Reference in a new issue