Merge pull request #4 from stevedylandev/fix/render-issue efdbbf98
fix: add key to ReactMarkdown
Steve Simkins · 2025-11-24 08:57 1 file(s) · +1 −0
src/components/dashboard.tsx +1 −0
341 341
								{selectedPost.content ? (
342 342
									<div className="prose prose-gray dark:prose-invert max-w-none prose-headings:text-foreground prose-p:text-foreground prose-a:text-primary prose-strong:text-foreground prose-code:text-foreground prose-pre:bg-muted prose-blockquote:text-muted-foreground prose-li:text-foreground space-y-4">
343 343
										<ReactMarkdown
344 +
											key={selectedPost.id}
344 345
											remarkPlugins={[remarkGfm]}
345 346
											rehypePlugins={[rehypeRaw, rehypeSanitize]}
346 347
											components={markdownComponents}