-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Ts migration(src/pages): Migrated assigned files #6829
Merged
pettinarip
merged 21 commits into
ethereum:dev
from
M-Ivan:ts-migration/M-Ivan_assigned-pages
Jul 16, 2022
Merged
Changes from 14 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d07548e
Feat(pages/404): Migrated 404.js => 404.tsx
M-Ivan 564cb30
Fix(pages/404): Removed unnecessary round branckets string on 404 page
M-Ivan 7e48a05
Feat(pages/404): Created interface for props and solved type errors
M-Ivan b7b59a1
Feat(pages/bug-bounty): Created interfaces for the page and improved …
M-Ivan f8dd080
Feat(pages/community): Community.js => Community.tsx
M-Ivan a0929e9
Feat(pages/community): Created interfaces for the community hub page
M-Ivan 8c8d376
Fix(git): Merged branch 'dev' into base and solved conflicts
M-Ivan f8de08a
Fix(bug-bounty): Fixed the declaration of page props and the sort met…
M-Ivan 06bfd9c
Fix(404): Fixed props definition
M-Ivan 2cd06cd
Fix(assets): Fixed the props definition to use PageProps
M-Ivan 556ece2
Fix(assets): Fixed props definition and removed unnecessary GetImage …
M-Ivan ab44844
Fix(community): Fixed props definition, array type declaration and re…
M-Ivan 9c23674
Fix(bug-bounty): Removed unnecessary export statements
M-Ivan 71c5447
Fix(404): Added extra space
M-Ivan f790f8b
Merge branch 'dev' into review-ivan2
pettinarip a7c1f76
revert changes on md files
pettinarip 9ac4c16
simplify typing in assetdownload component
pettinarip aec7503
minor fixes on types
pettinarip e6a7b4e
Merge branch 'dev' into review-ivan2
pettinarip ecf33ad
call getImage on header image
pettinarip 596c351
Merge branch 'dev' into review-ivan2
pettinarip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 77 additions & 58 deletions
135
src/content/developers/docs/smart-contracts/testing/index.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@pettinarip since this prop is supposed to receive the GatsbyImageData object i changed this type to match any object. It was set to string before and it was a pain to make it work when passing a Gatsby auto-generated type (from the Queries namespace).
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.
This is nice! as commented in the other comment, we will leave it as
any
for now. Once we have better types from gatsby we will refactor and fix all the images types 👍🏼