add "Preview" text to survey preview

This commit is contained in:
Johannes
2023-05-30 10:52:19 +02:00
parent 9631776552
commit 0b24f1fe09

View File

@@ -238,9 +238,9 @@ export default function PreviewSurvey({
<div className="h-3 w-3 rounded-full bg-emerald-500"></div>
</div>
<p>
{previewType === "modal" && (
<span className="ml-4 font-mono text-sm text-slate-400">Your web app</span>
)}
<span className="ml-4 font-mono text-sm text-slate-400">
{previewType === "modal" ? "Your web app" : "Preview"}
</span>
</p>
</div>