Skip to content

Commit

Permalink
chore: Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Dec 16, 2024
1 parent 3774801 commit 339ae7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import rehypeSanitize from "rehype-sanitize";
import remarkGfm from "remark-gfm";

const components: ComponentProps<typeof ReactMarkdown>["components"] = {
// TODO: Maybe can be handled by Title and Description components?
h1: ({ children }) => <h1 style={{ marginTop: 0 }}>{children}</h1>,
h2: ({ children }) => <h2 style={{ marginTop: 0 }}>{children}</h2>,
h3: ({ children }) => <h3 style={{ marginTop: 0 }}>{children}</h3>,
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/components/layout-configurator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ const LayoutBlocksConfigurator = () => {
.map((block) => (
<ControlTab
key={block.key}
// todo: standardize the id with block options selector
// TODO: standardize the id with block options selector
id={`tab-block-${block.key}`}
mainLabel={block.text[locale]}
checked={state.layout.activeField === block.key}
Expand Down

0 comments on commit 339ae7f

Please sign in to comment.