Skip to content

Commit 68721fb

Browse files
committed
Added type prop with the key Create for specific behavior
1 parent be5fe22 commit 68721fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/(root)/question/[id]/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ const Page = async ({ params, searchParams }: URLProps) => {
135135
/>
136136

137137
<Answer
138+
type="Create"
138139
question={result.content}
139140
questionId={JSON.stringify(result._id)}
140141
authorId={JSON.stringify(mongoUser._id)}

0 commit comments

Comments
 (0)