Skip to content

Commit

Permalink
fix: make tabs work
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Dec 12, 2023
1 parent c4baae4 commit 463636b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pages/docs/how-to/_filecoin-info.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const items = ['JS client', 'CLI']
3 changes: 2 additions & 1 deletion src/pages/docs/how-to/filecoin-info.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { Callout, Tabs } from 'nextra/components'
import { items } from './_filecoin-info.js'

# Get Filecoin information for a Piece

To retrieve a [Data Aggregation Proof](/docs/concepts/podsi#data-aggregation-proof) (including [PoDSI](/docs/concepts/podsi)) you can issue a `filecoin/info` invocation to the web3.storage service.

<Tabs items={['JS client', 'CLI']}>
<Tabs items={items}>
<Tabs.Tab>
Piece CIDs are calculated by the client before data is uploaded and are made available in the `onShardStored` callback of `uploadFile`, `uploadDirectory` or `uploadCAR`.

Expand Down

0 comments on commit 463636b

Please sign in to comment.