-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: migrated address & updated linter #400
Conversation
> = (props) => { | ||
const { loading, ...rest } = props |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> = (props) => { | |
const { loading, ...rest } = props | |
> = ({ loading, ...rest }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will refactor this component later, these are just automatic lint:fix changes
@@ -11,7 +11,7 @@ export const useModalFocus = (): React.RefObject<HTMLDivElement> => { | |||
|
|||
return Array.from(nodes).filter( | |||
(node): node is HTMLElement => | |||
node && node instanceof HTMLElement && node.offsetParent !== null | |||
node && node instanceof HTMLElement && node.offsetParent !== null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node && node instanceof HTMLElement && node.offsetParent !== null, | |
node instanceof HTMLElement && node.offsetParent !== null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, will update once I get to this hook
Description
satisfies
operatorDemo