Change ESLint rules, lint

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2023-02-15 22:26:27 +01:00
parent dec2cc69e8
commit 81de0014d3
337 changed files with 1301 additions and 1284 deletions

View File

@@ -8,11 +8,11 @@ import type { AppDispatch, RootState } from 'soapbox/store';
interface ICSVImporter {
messages: {
input_label: MessageDescriptor,
input_hint: MessageDescriptor,
submit: MessageDescriptor,
},
action: (params: FormData) => (dispatch: AppDispatch, getState: () => RootState) => Promise<void>,
input_label: MessageDescriptor
input_hint: MessageDescriptor
submit: MessageDescriptor
}
action: (params: FormData) => (dispatch: AppDispatch, getState: () => RootState) => Promise<void>
}
const CSVImporter: React.FC<ICSVImporter> = ({ messages, action }) => {