Skip to content

Commit 5b7fcdb

Browse files
committed
Fixed some issues with faustwp/core CHANGELOG not being formatted correctly.
Might be some legacy issue.
1 parent 2bad444 commit 5b7fcdb

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

packages/faustwp-core/CHANGELOG.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
export default function Sitemap() {}
3131

3232
export function getServerSideProps(ctx) {
33-
return getSitemapProps(ctx, {
34-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
35-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
36-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
37-
});
33+
return getSitemapProps(ctx, {
34+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
35+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
36+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
37+
});
3838
}
3939
```
4040

@@ -138,7 +138,7 @@
138138
139139
```jsx
140140
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
141-
Log Out
141+
Log Out
142142
</ToolbarItem>
143143
```
144144
@@ -244,18 +244,18 @@
244244
import { FaustPage } from '@faustwp/core';
245245

246246
type GetPageData = {
247-
generalSettings: {
248-
title: string;
249-
};
247+
generalSettings: {
248+
title: string;
249+
};
250250
};
251251

252252
type PageProps = {
253-
myProp: string;
253+
myProp: string;
254254
};
255255

256256
const Page: FaustPage<GetPageData, PageProps> = (props) => {
257-
const { myProp, data } = props;
258-
return <></>;
257+
const { myProp, data } = props;
258+
return <></>;
259259
};
260260
```
261261
@@ -324,9 +324,9 @@
324324
export default function Sitemap() {}
325325

326326
export function getServerSideProps(context) {
327-
return getSitemapProps(context, {
328-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
329-
});
327+
return getSitemapProps(context, {
328+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
329+
});
330330
}
331331
```
332332
@@ -356,7 +356,7 @@
356356
import { FaustHooks, FaustPlugin } from '@faustwp/core';
357357

358358
export class MyPlugin implements FaustPlugin {
359-
apply(hooks: FaustHooks) {}
359+
apply(hooks: FaustHooks) {}
360360
}
361361
```
362362

0 commit comments

Comments
 (0)