diff options
Diffstat (limited to 'examples/remote-markdown/src/components/Yell.jsx')
-rw-r--r-- | examples/remote-markdown/src/components/Yell.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/remote-markdown/src/components/Yell.jsx b/examples/remote-markdown/src/components/Yell.jsx index ae7d0d959..366d88a95 100644 --- a/examples/remote-markdown/src/components/Yell.jsx +++ b/examples/remote-markdown/src/components/Yell.jsx @@ -1,5 +1,10 @@ import { h, Fragment } from 'preact'; export default function Yell({ children }) { - return children.filter(v => typeof v === 'string').join('').toUpperCase() + '!' + return ( + children + .filter((v) => typeof v === 'string') + .join('') + .toUpperCase() + '!' + ); } |