Skip to content

Commit

Permalink
🎨 [Code] Lint and format
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Jul 21, 2024
1 parent 52c2316 commit c501cc2
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 86 deletions.
162 changes: 81 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@astrojs/check": "^0.8.2",
"astro": "^4.12.1",
"astro": "^4.12.2",
"beeftools": "^0.1.5",
"typescript": "^5.5.3"
},
Expand Down
2 changes: 1 addition & 1 deletion pwa-assets.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import {
export default defineConfig({
headLinkOptions: {preset: '2023'},
preset: minimal2023Preset,
images: ['public/favicon.png']
images: ['public/favicon.png'],
});
6 changes: 4 additions & 2 deletions src/layouts/Page.astro
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ const {id, title = DEFAULT_TITLE} = Astro.props;
{pwaInfo && <Fragment set:html={pwaInfo.webManifest.linkTag} />}

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4G2VKG5NK2"
></script>
<script
is:inline
async
src="https://www.googletagmanager.com/gtag/js?id=G-4G2VKG5NK2"></script>
<script is:inline>
if (window.location.hostname === 'localhost') return;

Expand Down
2 changes: 1 addition & 1 deletion src/mock/ToastTest.astro
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
(event) => {
console.log('This Toast has just been removed!', newId, event);
removeItem(newIndex);
}
},
);

console.log('A new Toast has just been created!', newId);
Expand Down

0 comments on commit c501cc2

Please sign in to comment.