-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add surf option to boilerplate template #246
Conversation
templates/boilerplate-template/frontend/view-functions-with-surf/getMessageContent.ts
Outdated
Show resolved
Hide resolved
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.
LGTM, left 2 comments
Co-authored-by: Maayan <maayan@aptoslabs.com>
Co-authored-by: Maayan <maayan@aptoslabs.com>
Co-authored-by: Maayan <maayan@aptoslabs.com>
213669e
to
ac5f23a
Compare
addressed |
throw new Error("Unsupported framework"); | ||
} | ||
|
||
if (selection.useSurf) { |
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.
any reason not to add this check before entering the function? https://github.com/aptos-labs/create-aptos-dapp/pull/246/files#diff-0594d46782df78830c5efe0fa4abb36cbf22c918dc182ccc8f3cf75fdee908e7R87
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.
we need to delete file if not using surf
Introducing surf to the boilerplate template.
Tested locally on both vite and nextjs templates.