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

Fix NFT sizes and add docs #130

Merged
merged 2 commits into from
Dec 20, 2021
Merged

Fix NFT sizes and add docs #130

merged 2 commits into from
Dec 20, 2021

Conversation

etr2460
Copy link
Contributor

@etr2460 etr2460 commented Dec 18, 2021

Closes #94

Description

Attempts to ensure all nft cards are squares of the same size. Also adds some more docs

Screenshot

Screen Shot 2021-12-17 at 10 09 29 PM

Screen Shot 2021-12-17 at 10 09 34 PM

Screen Shot 2021-12-17 at 10 09 41 PM

to: @Dhaiwat10

@changeset-bot
Copy link

changeset-bot bot commented Dec 18, 2021

🦋 Changeset detected

Latest commit: e44c161

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@web3-ui/components Minor
@web3-ui/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

} catch (error: any) {
setErrorMessage(error.message);
} catch (error) {
if (error instanceof Error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could be good to create a helper for this as we're handling errors in quite a few places. What do you reckon? Can add a separate ticket for this.

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. It seems like we're handling errors (and the typing of them) in a couple ways. I'll make an issue to figure out the best way to handle errors in our code, and use whatever helper function i make across the codebase

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

@maximebonhomme feel free to create that ticket. Good suggestion

@Dhaiwat10
Copy link
Member

@etr2460 looks good. Can you add a changeset by running yarn changeset? I think we need a minor bump for the components package

@Dhaiwat10 Dhaiwat10 merged commit 825561b into main Dec 20, 2021
@Dhaiwat10 Dhaiwat10 deleted the fix-nft-gallery branch December 20, 2021 10:32
@github-actions github-actions bot mentioned this pull request Dec 20, 2021
@etr2460
Copy link
Contributor Author

etr2460 commented Dec 20, 2021

Thanks for adding the changeset @Dhaiwat10. do you have docs around when to do a minor vs. a patch changeset? This PR was mainly a fix, although it did add a new (optional) prop to the NFT component

@Dhaiwat10
Copy link
Member

@etr2460 no I don't think we have any proper documentation around that. Do you think we need it?

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.

Fix inconsistent NFT sizes
3 participants