cryptotithe icon indicating copy to clipboard operation
cryptotithe copied to clipboard

Wasm Calculations

Open starsoccer opened this issue 3 years ago • 3 comments

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

starsoccer avatar Dec 15 '22 18:12 starsoccer

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)

vercel[bot] avatar Dec 15 '22 18:12 vercel[bot]

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.

Zahrun avatar Dec 16 '22 11:12 Zahrun

@Zahrun Can you give this a try again now

starsoccer avatar Dec 20 '22 20:12 starsoccer