Skip to content

Commit

Permalink
fix: lints warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Apr 26, 2021
1 parent ee07cbd commit f94ee6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/routes/errorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export function errorHandler(
err: Error,
_req: Request,
res: Response,
// eslint-disable-next-line
_next: any, // important argument, don't remove
): void {
res.status(500).send({
Expand Down
2 changes: 1 addition & 1 deletion src/ui/hooks/useInterval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function useInterval(
callback: () => void,
delay: number | null,
deps: any[] = [],
) {
): void {
const savedCallback = useRef(callback)

// Remember the latest callback if it changes.
Expand Down

0 comments on commit f94ee6b

Please sign in to comment.