Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Aug 28, 2024
1 parent a5f6ce0 commit 2939428
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
www/dist
www/json

# Ignore all HTML files:
# Ignore all HTML and CSS files
**/*.html
**/*.css

# This is the pattern to check only www directory
# Ignore all
Expand Down
8 changes: 5 additions & 3 deletions www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ deviceReady.then(() => {
const rootEl = document.getElementById('appRoot');
const reactRoot = createRoot(rootEl);

reactRoot.render(<>
reactRoot.render(
<>
<style type="text/css">
{`
@font-face {
Expand All @@ -29,6 +30,7 @@ deviceReady.then(() => {
}
`}
</style>
<App />
</>);
<App />
</>,
);
});

0 comments on commit 2939428

Please sign in to comment.