Skip to content

Commit 1297abc

Browse files
committed
fix: v0
1 parent 36ebbf2 commit 1297abc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/www/actions/edit-in-v0.ts

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ export async function editInV0({
3737
// v0 will handle this for us.
3838
// code = code.replace(`"use client"`, "")
3939

40+
// Remove export const description = "..."
41+
code = code.replace(/export const description =\s*".*";?/, "")
42+
4043
const payload = {
4144
title,
4245
description,

0 commit comments

Comments
 (0)