Skip to content

Wasm Calculations#286

Open
starsoccer wants to merge 2 commits intomasterfrom
feature/wasm
Open

Wasm Calculations#286
starsoccer wants to merge 2 commits intomasterfrom
feature/wasm

Conversation

@starsoccer
Copy link
Owner

@Zahrun Would appreciate your eyes and testing on this as its a big change to the whole calculation method but makes it drastically faster

@vercel
Copy link

vercel bot commented Dec 15, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cryptotithe ❌ Failed (Inspect) Dec 20, 2022 at 8:30PM (UTC)

@Zahrun
Copy link
Contributor

Zahrun commented Dec 16, 2022

I am not able to build this branch

yarn run v1.22.19
warning ../../../package.json: No license field
$ next build
(node:187448) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /home/aroun/UnixSync/dev/cryptotithe/node_modules/next/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
Failed to compile.

./components/Table/index.tsx:49:30
Type error: 'Spinner' cannot be used as a JSX component.
  Its instance type 'Spinner' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.
      Type 'ReactElement<{ className: string; role: string; }, string | JSXElementConstructor<any>>' is not assignable to type 'ReactNode'.
        Property 'children' is missing in type 'ReactElement<{ className: string; role: string; }, string | JSXElementConstructor<any>>' but required in type 'ReactPortal'.

  47 |                     loadMore={this.moreTrades}
  48 |                     hasMore={this.state.page * itemsPerPage <= this.props.rows.length}
> 49 |                     loader={<Spinner key={this.state.page} />}
     |                              ^
  50 |                 >
  51 |                     <table className='f6 w-100 mw8 center'>
  52 |                         <thead>
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@starsoccer
Copy link
Owner Author

@Zahrun Can you give this a try again now

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.

2 participants