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

(chore) - remove extraneous deps #149

Merged
merged 3 commits into from
Dec 22, 2021

Conversation

JoviDeCroock
Copy link
Contributor

Closes #145
Closes #128

Description

This removes the extraneous @emotion/core, cross-fetch and classnames deps

@changeset-bot
Copy link

changeset-bot bot commented Dec 22, 2021

🦋 Changeset detected

Latest commit: ec294ea

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 Patch
@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

@JoviDeCroock
Copy link
Contributor Author

Oh... We rely on actual fetching in our unit tests 😅

@Dhaiwat10
Copy link
Member

Oh... We rely on actual fetching in our unit tests 😅

We have mocked the response though. Can we not do something about it? :(

@JoviDeCroock
Copy link
Contributor Author

yea fixed it with just polyfilling in the test-setup @Dhaiwat10

@@ -47,7 +46,9 @@ export const NFT = ({ contractAddress, tokenId, size = 'xs' }: NFTProps) => {

const fetchNFTData = useCallback(async () => {
try {
const res = await fetch(`https://api.opensea.io/api/v1/asset/${contractAddress}/${tokenId}/`);
const res = await fetch(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Most of these formatting changes are due to the lint-staged not actually applying correctly before it seems

@Dhaiwat10 Dhaiwat10 merged commit 4c2056d into Developer-DAO:main Dec 22, 2021
@github-actions github-actions bot mentioned this pull request Dec 22, 2021
@JoviDeCroock JoviDeCroock deleted the cleanup-dependencies branch December 22, 2021 18:42
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.

Remove cross-fetch from dependencies Remove @emotion/core from components package's dependencies
2 participants