Lint fixes

This commit is contained in:
Ken Powers 2020-02-07 15:07:43 -05:00 committed by GitHub
parent 3938eb9801
commit 8d4125f0a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 5 deletions

View file

@ -188,6 +188,8 @@ export class Lightbox extends React.Component<Props, State> {
public readonly focusRef = React.createRef<HTMLDivElement>();
public previousFocus: any;
public state: State = {};
public componentDidMount() {
this.previousFocus = document.activeElement;