1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 09:32:50 +00:00

build: eslint

This commit is contained in:
2022-03-29 00:35:45 -05:00
parent 9c57c87e85
commit 0532acfddd
22 changed files with 3332 additions and 1388 deletions

View File

@@ -3,14 +3,12 @@ import { SoundList } from '../../components';
import { SoundType } from '../../model';
import { axios } from '../../services';
interface Props {}
interface State {
clipList: SoundType[];
}
export class Clips extends React.Component<Props, State> {
constructor(props: Props) {
export class Clips extends React.Component<unknown, State> {
constructor(props: unknown) {
super(props);
this.state = {
clipList: [],
@@ -29,6 +27,7 @@ export class Clips extends React.Component<Props, State> {
clipList: response.data,
});
})
/* eslint-disable-next-line */
.catch((error: any) => {
console.error(error.response.data);
});