Skip to content

Commit

Permalink
fix: lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Jan 22, 2021
1 parent d9576b4 commit 7e39d7c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/assets/javascripts/directives/views/sessionsModal.tsx
Expand Up @@ -18,7 +18,10 @@ import {
AlertDialogLabel,
} from '@reach/alert-dialog';

function useAutorun(view: (r: IReactionPublic) => any, opts?: IAutorunOptions) {
function useAutorun(
view: (r: IReactionPublic) => unknown,
opts?: IAutorunOptions
) {
useEffect(() => autorun(view, opts), [view, opts]);
}

Expand Down

0 comments on commit 7e39d7c

Please sign in to comment.