fix: missing question type in Add question below menu (#3029)

This commit is contained in:
Dhruwang Jariwala
2024-08-20 12:29:17 +05:30
committed by GitHub
parent 49d4f43652
commit 6835e585b0

View File

@@ -213,8 +213,6 @@ export const EditorCardMenu = ({
<DropdownMenuSubContent className="ml-4 border border-slate-200">
{Object.entries(QUESTIONS_NAME_MAP).map(([type, name]) => {
if (type === card.type) return null;
return (
<DropdownMenuItem
key={type}