The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
edits
Steven Tey85e0b3451a41
diff --git a/components/stats/stats-map.tsx b/components/stats/stats-map.tsxindex 1cd2a34139..70326ac54e 100644--- a/components/stats/stats-map.tsx+++ b/components/stats/stats-map.tsx@@ -10,8 +10,8 @@ import styles from "./index.module.css";import * as topojson from "topojson-client";import topology from "@/data/world-topo.json";-const CHART_MAX_HEIGHT = 400;-const CHART_MAX_WIDTH = 800;+const CHART_MAX_HEIGHT = 200;+const CHART_MAX_WIDTH = 400;interface FeatureShape {type: "Feature";diff --git a/components/stats/toggle.tsx b/components/stats/toggle.tsxindex 1e35516eff..db8325b4f5 100644--- a/components/stats/toggle.tsx+++ b/components/stats/toggle.tsx@@ -13,7 +13,7 @@ export default function Toggle() {router.query.period === period? "bg-blue-50 dark:bg-gray-600": ""- } w-14 py-1.5 text-sm dark:text-white rounded-md transition-all`}+ } w-14 py-1.5 text-sm dark:text-white rounded-md`}onClick={() => {router.push({@@ -23,7 +23,7 @@ export default function Toggle() {},},`/stats/${encodeURI(- router.query.stats as string+ (router.query.stats || router.query.key) as string)}?period=${period}`,{ shallow: true });