mirror of
https://github.com/acamarata/nrel-spa.git
synced 2026-07-02 20:00:39 +00:00
chore: fix prettier formatting on telemetry import
This commit is contained in:
parent
ec311d10c1
commit
746188d56f
1 changed files with 2 additions and 4 deletions
|
|
@ -371,10 +371,8 @@ export function calcSpa(
|
|||
// ── Opt-in anonymous telemetry ────────────────────────────────────────────────
|
||||
// Off by default. Enable: ACAMARATA_TELEMETRY=1
|
||||
// What is sent + how to disable: https://github.com/acamarata/telemetry/blob/main/TELEMETRY.md
|
||||
import('@acamarata/telemetry')
|
||||
.then(({ track }) =>
|
||||
track('load', { package: 'nrel-spa', version: '2.0.2' }),
|
||||
)
|
||||
import("@acamarata/telemetry")
|
||||
.then(({ track }) => track("load", { package: "nrel-spa", version: "2.0.2" }))
|
||||
.catch(() => {
|
||||
// telemetry not installed or disabled — that's fine
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue