From dea0ed1c2cdd71f43da03e15023b5ac6a6dfc11f Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 21 Feb 2025 17:19:36 +0300 Subject: [PATCH] set up dynamic `title` for website --- index.html | 2 +- src/App.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index e3e181e..3896296 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ content="https://refine.dev/img/refine_social.png" /> - Refine - Build your React-based CRUD applications, without constraints. + Белые ночи diff --git a/src/App.tsx b/src/App.tsx index 6dcd738..1133bde 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -258,7 +258,12 @@ function App() { - + { + const cleanedTitle = title.autoGeneratedTitle.split('|')[0].trim() + return `${cleanedTitle} — Белые ночи` + }} + />