Skip to content

Commit 364183f

Browse files
git commit -m "style: fix formatting issues in README, saas template and image utils
Fix the failing CI "check" action by applying Prettier formatting to: - README.md - src/pages/homes/saas.astro - src/utils/images.ts This resolves the "prettier --check" errors without changing functionality."
1 parent 76f8788 commit 364183f

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ We're embarking on an exciting journey with **AstroWind 2.0**, and we want you t
6464

6565
<br>
6666

67-
6867
## TL;DR
6968

7069
```shell

src/pages/homes/saas.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ const metadata = {
5151
}}
5252
>
5353
<Fragment slot="title">
54-
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white"
55-
>SaaS</span
56-
> companion<br />
54+
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white">SaaS</span> companion<br
55+
/>
5756
</Fragment>
5857

5958
<Fragment slot="subtitle">

src/utils/images.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ export const adaptOpenGraphImages = async (
8484
typeof resolvedImage !== 'string' && resolvedImage?.width <= defaultWidth
8585
? [resolvedImage?.width, resolvedImage?.height]
8686
: [defaultWidth, defaultHeight];
87-
_image = (
88-
await astroAssetsOptimizer(resolvedImage, [dimensions[0]], dimensions[0], dimensions[1], 'jpg')
89-
)[0];
87+
_image = (await astroAssetsOptimizer(resolvedImage, [dimensions[0]], dimensions[0], dimensions[1], 'jpg'))[0];
9088
}
9189

9290
if (typeof _image === 'object') {

0 commit comments

Comments
 (0)