From 2c348269e9a44e12361cff1d56ed81bf26520309 Mon Sep 17 00:00:00 2001 From: Ramil Muratov Date: Wed, 24 Sep 2025 21:02:02 +0200 Subject: [PATCH 1/2] Get title from props --- src/app.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index b443a4c..8849cca 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -9,7 +9,7 @@ import { ThemeToggle } from './theme-toggle.tsx' import { useSourcemapsStore } from './use-sourcemaps-store.ts' import { setTheme, useTheme } from './use-theme.ts' -export default function App() { +export default function App({ title }: { title?: string}) { const [stackTraceInputValue, setStackTraceInputValue] = useState('') const [sourceMapInputValue, setSourceMapInputValue] = useState('') const { addSourceMaps, deleteSourceMap, sourceMaps } = useSourcemapsStore() @@ -68,7 +68,7 @@ export default function App() {