Skip to content

Commit

Permalink
Merge branch 'develop' into fix/enforced-txs-and-gas
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm authored Jan 15, 2024
2 parents c7a1f13 + d4a6d5f commit 18bacd5
Show file tree
Hide file tree
Showing 82 changed files with 1,180 additions and 330 deletions.
5 changes: 5 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from "astro/config"
import preact from "@astrojs/preact"
import react from "@astrojs/react"
import svgr from "vite-plugin-svgr"
import astroI18next from "astro-i18next"
import { astroCallouts, asideAutoImport } from "./integrations/astro-callouts"
import { solidityRemixCode, codeSampleAutoImport } from "./integrations/solidity-remix"
Expand Down Expand Up @@ -32,6 +33,7 @@ export default defineConfig({
preact({
compat: true,
}),

sitemap({
changefreq: "daily",
}),
Expand All @@ -47,6 +49,9 @@ export default defineConfig({
}),
astroI18next(),
],
vite: {
plugins: [svgr()],
},
markdown: {
drafts: true,
remarkPlugins: [remarkMath, remarkGfm],
Expand Down
2 changes: 1 addition & 1 deletion integrations/utils/makeComponentNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function makeComponentNode(
type: "mdxJsxFlowElement",
name,
attributes: Object.entries(attributes)
// Filter out non-truthy attributes to avoid empty attrs being parsed as `true`.
// Filter out non-truthy attributes to avoid empty attributes being parsed as `true`.
.filter(([_k, v]) => v !== false && Boolean(v))
.map(([name, value]) => ({
type: "mdxJsxAttribute",
Expand Down
Loading

0 comments on commit 18bacd5

Please sign in to comment.