diff options
Diffstat (limited to 'examples/subpath/src/components/Time.jsx')
-rw-r--r-- | examples/subpath/src/components/Time.jsx | 6 |
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>; } |