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

change executeOffline call to run #836

Open
wants to merge 1 commit into
base: testnet3
Choose a base branch
from

Conversation

raheemlawal
Copy link
Contributor

Motivation

When running react-typescript template the button "helloworld.aleo" is erroring out. Observe browser console below:

Screenshot 2023-12-30 at 5 06 55 PM

If you observe a different template (for example: react-leo https://github.com/AleoHQ/sdk/blob/testnet3/create-aleo-app/template-react-leo/src/workers/worker.js) it utilizes run() instead of executeOffline(). It seems that this function either hasn't been imported correctly or its implementation is still in progress. Either way since it's user facing I marked it as a patch.

Test Plan (Reproduction)

  1. Locally run npm create aleo-app@latest
  2. Choose 'React + Typescript' when prompted
  3. Change directories into project name
  4. Run 'npm i'
  5. Run 'npm run dev'
  6. Click button with text "helloworld.aleo"
  7. Notice expected alert with output doesn't occur/dev console has error.

Related PRs

None

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.

None yet

1 participant