-
Notifications
You must be signed in to change notification settings - Fork 11
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: added purchase tokens button #148
base: dev
Are you sure you want to change the base?
Conversation
* Utilize the meta theme-color property to make the site look better on mobile safari and other supported browsers * delete yarn-error.log add to gitignore
fix: disabling account creation button
* chore: switching to create-account library * style: code formatting Co-authored-by: Aaron Cox <[email protected]>
Deploying with Cloudflare Pages
|
8f8928d
to
05a7c5f
Compare
whalesplainerTokenOrder = await whalesplainerTokenOrderResponse.json() | ||
|
||
console.log({whalesplainerTokenOrder}) | ||
} catch (error) { |
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.
If this throws the toast below will fire as well, possibly replacing this error message with a generic one about popups.
Refactor this so that error handling only needs to happen once, preferably at the callsite and not side-effecting with a toast
|
||
whalesplainerTokenOrder = await whalesplainerTokenOrderResponse.json() | ||
|
||
console.log({whalesplainerTokenOrder}) |
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.
Remove debug logging
|
||
const tokenOrderUrl = `${creationServiceUrl}/api/tokens/order` | ||
|
||
export const openPopupForAccount = async (accountName: Name | undefined): Promise<void> => { |
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.
No need for this to accept undefined, make this a burden of the caller
No description provided.