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

@@ -20,7 +20,7 @@ interface State {
@inject('appStore')
@observer
export class Soundboard extends React.Component<Props, State> {
private soundListCache: any;
private soundListCache: SoundType[];
constructor(props: Props) {
super(props);
@@ -46,6 +46,7 @@ export class Soundboard extends React.Component<Props, State> {
soundList: response.data,
});
})
// eslint-disable-next-line
.catch((error: any) => {
console.error(error.response.data);
});