From a73a2d4ba9372ca5d8d42342e639563a4939901d Mon Sep 17 00:00:00 2001 From: dhaverd Date: Sun, 16 Aug 2026 05:22:49 +0800 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=8F=D0=BD=D0=B4=D0=B5=D0=BA=D1=81=20=D0=BC=D0=B5=D1=82=D1=80?= =?UTF-8?q?=D0=B8=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/root.tsx | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/app/root.tsx b/app/root.tsx index 1a574e7..f1c406f 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -1,5 +1,6 @@ import {Links, Meta, Outlet, Scripts} from "react-router"; import './app.css'; +import {MetrikaCounter} from "react-metrika"; export function Layout({ children }: { children: React.ReactNode }) { return ( @@ -11,6 +12,9 @@ export function Layout({ children }: { children: React.ReactNode }) { + {children} diff --git a/package.json b/package.json index 94abaf8..c438a6a 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "cross-env": "^10.0.0", + "react-metrika": "^1.0.0", "tailwindcss": "^4.1.13", "tw-animate-css": "^1.4.0", "typescript": "^5.9.2",