Skip to content

Commit

Permalink
docs: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
rrr523 committed Dec 24, 2023
1 parent 37b11a9 commit 5127e7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc-site/docs/FAQs/caclute-checksum-is-slow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ When you are developing Greenfield and need to create objects, if you are sure t
```javascript title="core lib (ESM)"
import {ReedSolomon} from '@bnb-chain/reed-solomon'

const rs = new RS.ReedSolomon();
const rs = new ReedSolomon();
const res = rs.encode(new Uint8Array(fileBuffer))
```

Expand Down
2 changes: 1 addition & 1 deletion packages/reed-solomon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you use module bundler such as [Webpack](https://webpack.js.org/), [Rollup](h
```js
import {ReedSolomon} from '@bnb-chain/reed-solomon'

const rs = new RS.ReedSolomon();
const rs = new ReedSolomon();
const res = rs.encode(new Uint8Array(fileBuffer))
```

Expand Down

0 comments on commit 5127e7f

Please sign in to comment.