Skip to content
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

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

hexnickk4997
Copy link
Contributor

Description

  • Migrated Address component to CSS Modules
  • Updated eslint, prettier, typescript so it supports satisfies operator

Demo

image image

Comment on lines +15 to +16
> = (props) => {
const { loading, ...rest } = props
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> = (props) => {
const { loading, ...rest } = props
> = ({ loading, ...rest }) => {

Copy link
Contributor Author

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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node && node instanceof HTMLElement && node.offsetParent !== null,
node instanceof HTMLElement && node.offsetParent !== null,

Copy link
Contributor Author

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

@hexnickk4997 hexnickk4997 merged commit 434c22b into v4 Jul 19, 2023
@hexnickk4997 hexnickk4997 deleted the feature/ui-832-migrate-address branch July 19, 2023 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants