Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions src/extensions/inspector_block/main/PropertyValue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export type Props = {
};

const PropertyValue: FC<Props> = ({ property }) => {
console.log("property", property);

return property.type === "asset" ? (
isImageUrl(property.value as string) ? (
<img
Expand All @@ -43,20 +41,15 @@ const PropertyValue: FC<Props> = ({ property }) => {
</a>
) : property.type === "markdown" ? (
<div className="prose">
<ReactMarkdown
remarkPlugins={[remarkGfm]}
<ReactMarkdown
remarkPlugins={[remarkGfm]}
rehypePlugins={[rehypeRaw]}
components={{
a: ({ href, children, ...props }) => (
<a
href={href}
target="_blank"
rel="noopener noreferrer"
{...props}
>
<a href={href} target="_blank" rel="noopener noreferrer" {...props}>
{children}
</a>
)
),
}}
>
{property.value as string}
Expand Down
1 change: 0 additions & 1 deletion src/extensions/visualizer/main/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ export default () => {
],
}));

console.log("Debug: items", allItems);
postMsg("addLayer", allItems);
} catch (error) {
console.error("Error fetching data:", error);
Expand Down