Remove commented-out code and update configurations

Deleted unused or commented-out code across multiple files to improve clarity and maintainability. Updated `kv_namespaces` in `wrangler.toml` and specified the package manager in `package.json`. Add placeholder values for development kv stores.
This commit is contained in:
geoffsee
2025-05-23 14:36:35 -04:00
parent d7a346891f
commit fe51876e89
13 changed files with 14 additions and 80 deletions

View File

@@ -42,10 +42,7 @@ export const webComponents = {
),
ul: ({ children }) => (
<UnorderedList
// pl={3}
// mb={2}
fontSize="sm"
// stylePosition="inside" // Keep bullets inside the text flow
>
{children}
</UnorderedList>
@@ -59,12 +56,7 @@ export const webComponents = {
li: ({ children, ...rest }) => {
const filteredChildren = React.Children.toArray(children)
.filter((child) => !(typeof child === "string" && child.trim() === "\n"))
.map((child, index, array) => {
// if (typeof child === 'string' && index === array.length - 1 && /\n/.test(child)) {
// return '\n';
// }
return child;
});
.map((child) => child);
return <ListItem {...rest}>{filteredChildren}</ListItem>;
},