Skip to content

Commit 8d02b55

Browse files
committed
fix: use span instead of p for proper html
1 parent acde4ee commit 8d02b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/editor/Editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const Editor: FC<EditorProps> = ({
9898
<DropdownMenuTrigger className="flex w-fit min-w-[140px] cursor-pointer items-center justify-between rounded-md border bg-surface-primary px-2 py-1.5 text-content-secondary transition-colors hover:text-content-primary data-[state=open]:text-content-primary">
9999
<div className="flex items-center justify-center gap-2">
100100
<ZapIcon width={18} height={18} />
101-
<p className="text-xs">Snippets</p>
101+
<span className="text-xs">Snippets</span>
102102
</div>
103103
<PlusIcon width={18} height={18} />
104104
</DropdownMenuTrigger>
@@ -124,7 +124,7 @@ export const Editor: FC<EditorProps> = ({
124124
<DropdownMenuTrigger className="flex w-fit min-w-[140px] cursor-pointer items-center justify-between rounded-md border bg-surface-primary px-2 py-1.5 text-content-secondary transition-colors hover:text-content-primary data-[state=open]:text-content-primary">
125125
<div className="flex items-center justify-center gap-2">
126126
<NotebookPenIcon width={18} height={18} />
127-
<p className="text-xs">Examples</p>
127+
<span className="text-xs">Examples</span>
128128
</div>
129129
<ChevronDownIcon width={18} height={18} />
130130
</DropdownMenuTrigger>

0 commit comments

Comments
 (0)