mirror of
https://github.com/acamarata/qibla.git
synced 2026-07-03 04:10:40 +00:00
chore: fix prettier formatting on telemetry import
This commit is contained in:
parent
840a25f86e
commit
1c136ef70d
1 changed files with 2 additions and 4 deletions
|
|
@ -150,10 +150,8 @@ export function distanceKm(lat1: number, lng1: number, lat2: number, lng2: numbe
|
||||||
// ── Opt-in anonymous telemetry ────────────────────────────────────────────────
|
// ── Opt-in anonymous telemetry ────────────────────────────────────────────────
|
||||||
// Off by default. Enable: ACAMARATA_TELEMETRY=1
|
// Off by default. Enable: ACAMARATA_TELEMETRY=1
|
||||||
// What is sent + how to disable: https://github.com/acamarata/telemetry/blob/main/TELEMETRY.md
|
// What is sent + how to disable: https://github.com/acamarata/telemetry/blob/main/TELEMETRY.md
|
||||||
import('@acamarata/telemetry')
|
import("@acamarata/telemetry")
|
||||||
.then(({ track }) =>
|
.then(({ track }) => track("load", { package: "@acamarata/qibla", version: "1.1.2" }))
|
||||||
track('load', { package: '@acamarata/qibla', version: '1.1.2' }),
|
|
||||||
)
|
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
// telemetry not installed or disabled — that is fine
|
// telemetry not installed or disabled — that is fine
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue