summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-11-15 15:35:07 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-11-15 15:35:07 +0000
commitb49f9a525e5eb9f497259a50c73af9e370f618be (patch)
tree581db8f29f3769daa7d47bf1201c5a94894fdef0 /examples
parentfca1a99dbdcc32aa130de29917629ad2fa397369 (diff)
downloadastro-b49f9a525e5eb9f497259a50c73af9e370f618be.tar.gz
astro-b49f9a525e5eb9f497259a50c73af9e370f618be.tar.zst
astro-b49f9a525e5eb9f497259a50c73af9e370f618be.zip
[ci] yarn format
Diffstat (limited to 'examples')
-rw-r--r--examples/subpath/astro.config.mjs2
-rw-r--r--examples/subpath/src/components/Time.jsx6
-rw-r--r--examples/subpath/src/styles/main.scss2
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
+}