summaryrefslogtreecommitdiff
path: root/examples/subpath/src/components/Time.jsx
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2021-12-22 16:11:05 -0500
committerGravatar GitHub <noreply@github.com> 2021-12-22 16:11:05 -0500
commit6ddd7678ffb6598ae6e263706813cb5e94535f02 (patch)
treed4b45f7590b59c3574bd6593b17d8066f71007c6 /examples/subpath/src/components/Time.jsx
parent305ce4182fbe89abcfb88008ddce178bd8863b6a (diff)
downloadastro-6ddd7678ffb6598ae6e263706813cb5e94535f02.tar.gz
astro-6ddd7678ffb6598ae6e263706813cb5e94535f02.tar.zst
astro-6ddd7678ffb6598ae6e263706813cb5e94535f02.zip
Use accessible indentation (#2253)
Diffstat (limited to 'examples/subpath/src/components/Time.jsx')
-rw-r--r--examples/subpath/src/components/Time.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/subpath/src/components/Time.jsx b/examples/subpath/src/components/Time.jsx
index 8b5837c85..9a89669cb 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 () {
- const date = new Date();
- const format = new Intl.DateTimeFormat('en-US');
- return <time>{format.format(date)}</time>;
+ const date = new Date();
+ const format = new Intl.DateTimeFormat('en-US');
+ return <time>{format.format(date)}</time>;
}