-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: Add tracking to the UserInformation component #377
Conversation
…fix/add-tracking-to-user-information
Pull Request Test Coverage Report for Build 6508900701
💛 - Coveralls |
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.
👍
const from = numeric(offset || 0, { min: 0 }) ?? 0 | ||
const to = numeric(from + (limit || 100), { min: 0, max: 100 }) ?? 100 |
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.
do we need this? we are already sending 0 or 100 to the function
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.
The function returns number | null
, making us provide a default number.
offset: numeric(query.offset, { min: 0 }) ?? 0, | ||
limit: numeric(query.limit, { min: 0, max: 100 }) ?? 100, |
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.
same as before
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.
Same as above.
This PR updates the
decentraland-gatsby
dependency to add tracking to it.