Skip to content

Commit a60ead7

Browse files
committed
chore(dev-hub) Move to Fuma Docs Callouts for now
1 parent 3f21753 commit a60ead7

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

apps/developer-hub/content/docs/entropy/generate-random-numbers-evm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ IEntropyV2 entropy;
147147

148148
When the final random number is ready to use, the entropyCallback function will be called by the Entropy contract. This will happen in a separate transaction submitted by the requested provider.
149149

150-
<Callout variant="warning">
150+
<Callout type="warning">
151151
The `entropyCallback` function on your contract should **never** return an
152152
error. If it returns an error, the keeper will not be able to invoke the
153153
callback. If you are having problems receiving the callback, please see

apps/developer-hub/content/docs/entropy/set-custom-gas-limits.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ mapping(uint64 => bool) public processedRequests;
127127

128128
When setting custom gas limits, be aware of these constraints:
129129

130-
<Callout variant="info" header="Gas Limit Rules">
130+
<Callout type="info" title="Gas Limit Rules">
131131
Gas limits are automatically rounded up to the nearest multiple of **10,000**.
132132
Example: 19,000 becomes 20,000 25,500 becomes 30,000. The minimum gas limit is
133133
the provider's configured default limit. The maximum gas limit is 655,350,000
@@ -169,7 +169,7 @@ uint32 customGasLimit = estimatedGas + safetyBuffer;
169169

170170
Be prepared to handle cases where your gas limit is insufficient:
171171

172-
<Callout variant="warning">
172+
<Callout type="warning">
173173
If your callback **runs out of gas**, the entropy provider will **not** be
174174
able to complete the callback. Always test your gas limits thoroughly and
175175
include adequate safety margins.

apps/developer-hub/content/docs/express-relay/contract-addresses.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ description: >-
2222
</Tab>
2323
<Tab value="testing">
2424

25-
<Callout variant="warning">
25+
<Callout type="warning">
2626
To simulate real performance conditions and activity, the staging/testing
2727
environment for Solana is on the mainnet-beta network. This environment is not
2828
for production use and should only be used for testing.

apps/developer-hub/content/docs/metrics/kpi.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: Pyth Network KPI
33
description: Monthly informative data points on the Pyth network, its growth, and performance metrics.
44
---
55

6-
<Callout variant="info" header="Pyth Network KPI ">
6+
<Callout type="info" title="Pyth Network KPI ">
77
For the latest KPI dashboard, please visit
88
[https://kpi.pyth.network/](https://kpi.pyth.network/).
99
</Callout>
1010
Every month, the Pyth contributors collect informative data points on the
1111
network, its growth, as well as its performance.
1212

13-
<Callout variant="warning" header="Disclaimer">
13+
<Callout type="warning" title="Disclaimer">
1414
All figures mentioned are just rough estimations. Due to Pyth's permissionless
1515
nature, any apps can use the Pyth price feeds without talking to the Pyth
1616
contributors. This will exclude them from the calculations.

apps/developer-hub/src/mdx-components.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
1717
Tab,
1818
...components,
1919
InfoBox: InfoBox,
20-
// Fuma has a Callout component in `defaultMdxComponents` which we still want to overwrite
21-
Callout: InfoBox,
2220
};
2321
}

0 commit comments

Comments
 (0)