Skip to content

Commit 417d58c

Browse files
committed
Fixed CHANGELOG file.
1 parent 6e7b880 commit 417d58c

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
@@ -24,11 +24,11 @@
2424
export default function Sitemap() {}
2525

2626
export function getServerSideProps(ctx) {
27-
return getSitemapProps(ctx, {
28-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
29-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
30-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
31-
});
27+
return getSitemapProps(ctx, {
28+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
29+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
30+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
31+
});
3232
}
3333
```
3434

@@ -132,7 +132,7 @@
132132
133133
```jsx
134134
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
135-
Log Out
135+
Log Out
136136
</ToolbarItem>
137137
```
138138
@@ -238,18 +238,18 @@
238238
import { FaustPage } from '@faustwp/core';
239239

240240
type GetPageData = {
241-
generalSettings: {
242-
title: string;
243-
};
241+
generalSettings: {
242+
title: string;
243+
};
244244
};
245245

246246
type PageProps = {
247-
myProp: string;
247+
myProp: string;
248248
};
249249

250250
const Page: FaustPage<GetPageData, PageProps> = (props) => {
251-
const { myProp, data } = props;
252-
return <></>;
251+
const { myProp, data } = props;
252+
return <></>;
253253
};
254254
```
255255
@@ -318,9 +318,9 @@
318318
export default function Sitemap() {}
319319

320320
export function getServerSideProps(context) {
321-
return getSitemapProps(context, {
322-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
323-
});
321+
return getSitemapProps(context, {
322+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
323+
});
324324
}
325325
```
326326
@@ -350,7 +350,7 @@
350350
import { FaustHooks, FaustPlugin } from '@faustwp/core';
351351

352352
export class MyPlugin implements FaustPlugin {
353-
apply(hooks: FaustHooks) {}
353+
apply(hooks: FaustHooks) {}
354354
}
355355
```
356356

0 commit comments

Comments
 (0)