We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2937a commit c2e9ac7Copy full SHA for c2e9ac7
guides/javascript.mdx
@@ -156,7 +156,10 @@ const axiom = new Axiom({
156
const logger = new Logger(
157
{
158
transports: [
159
- new AxiomJSTransport({ axiom }),
+ new AxiomJSTransport({
160
+ axiom,
161
+ dataset: process.env.AXIOM_DATASET,
162
+ }),
163
new ConsoleTransport(),
164
],
165
}
send-data/react.mdx
@@ -63,7 +63,7 @@ This page explains how to use the @axiomhq/react library to send data from your
63
export const logger = new Logger({
64
65
new AxiomJSTransport({
66
- client: axiomClient,
+ axiom: axiomClient,
67
dataset: process.env.AXIOM_DATASET!,
68
}),
69
0 commit comments