diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/subpath/astro.config.mjs | 2 | ||||
-rw-r--r-- | examples/subpath/src/components/Time.jsx | 6 | ||||
-rw-r--r-- | examples/subpath/src/styles/main.scss | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/subpath/astro.config.mjs b/examples/subpath/astro.config.mjs index 989f60121..7a7a3ed2d 100644 --- a/examples/subpath/astro.config.mjs +++ b/examples/subpath/astro.config.mjs @@ -10,7 +10,7 @@ export default /** @type {import('astro').AstroUserConfig} */ ({ // Comment out "renderers: []" to enable Astro's default component support. buildOptions: { - site: 'http://example.com/blog' + site: 'http://example.com/blog', }, renderers: ['@astrojs/renderer-react'], }); diff --git a/examples/subpath/src/components/Time.jsx b/examples/subpath/src/components/Time.jsx index 8172b77dd..8b5837c85 100644 --- a/examples/subpath/src/components/Time.jsx +++ b/examples/subpath/src/components/Time.jsx @@ -1,7 +1,7 @@ import React from 'react'; -export default function() { +export default function () { const date = new Date(); const format = new Intl.DateTimeFormat('en-US'); - return <time>{format.format(date)}</time> -}
\ No newline at end of file + return <time>{format.format(date)}</time>; +} diff --git a/examples/subpath/src/styles/main.scss b/examples/subpath/src/styles/main.scss index 573fc4396..a54a15f01 100644 --- a/examples/subpath/src/styles/main.scss +++ b/examples/subpath/src/styles/main.scss @@ -2,4 +2,4 @@ body { #app { color: tomato; } -}
\ No newline at end of file +} |