diff --git a/src/pages/ScriptDetail.tsx b/src/pages/ScriptDetail.tsx index b019187..6aa51e7 100644 --- a/src/pages/ScriptDetail.tsx +++ b/src/pages/ScriptDetail.tsx @@ -138,7 +138,7 @@ echo "Setting up Docker environment for $PROJECT_NAME..." export default function ScriptDetail() { const { scriptId } = useParams(); const { user } = useAuth(); - const { theme } = useTheme(); + const { resolvedTheme } = useTheme(); // API hooks const { data: script } = useScript(scriptId || ''); @@ -360,7 +360,7 @@ export default function ScriptDetail() {