Skip to content

Commit a50485d

Browse files
authored
meta: Fix typos discovered by codespell (#6262)
1 parent f71d738 commit a50485d

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

layouts/BlogCategoryLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import getBlogData from '@/next-data/blogData';
1010
const getCategoryData = async (pathname: string) => {
1111
// pathname format can either be: /en/blog/{category}
1212
// or /en/blog/{category}/page/{page}
13-
// hence we attempt to interpolate the full /en/blog/{categoy}/page/{page}
13+
// hence we attempt to interpolate the full /en/blog/{category}/page/{page}
1414
// and in case of course no page argument is provided we define it to 1
1515
// note that malformed routes can't happen as they are all statically generated
1616
const [, , category = 'all', , page = 1] = pathname.split('/');

layouts/New/Blog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import styles from './layouts.module.css';
1212
const getBlogCategory = async (pathname: string) => {
1313
// pathname format can either be: /en/blog/{category}
1414
// or /en/blog/{category}/page/{page}
15-
// hence we attempt to interpolate the full /en/blog/{categoy}/page/{page}
15+
// hence we attempt to interpolate the full /en/blog/{category}/page/{page}
1616
// and in case of course no page argument is provided we define it to 1
1717
// note that malformed routes can't happen as they are all statically generated
1818
const [, , category = 'all', , page = 1] = pathname.split('/');

next.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ const nextWithSentry = withSentryConfig(
146146
sentryConfig
147147
);
148148

149-
// Decides wheter enabling Sentry or not
149+
// Decides whether enabling Sentry or not
150150
// By default we only want to enable Sentry within a Vercel Environment
151151
export default SENTRY_ENABLE ? nextWithSentry : nextWithIntl;

next.constants.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const BASE_PATH = process.env.NEXT_PUBLIC_BASE_PATH || '';
9191
* Note this is assumes that the Node.js Website is either running within Vercel Environment
9292
* or running locally (either production or development) mode
9393
*
94-
* Note this variable can be overrided via a manual Environment Variable defined by us if necessary.
94+
* Note this variable can be overridden via a manual Environment Variable defined by us if necessary.
9595
*/
9696
export const NEXT_DATA_URL = process.env.NEXT_PUBLIC_DATA_URL
9797
? process.env.NEXT_PUBLIC_DATA_URL

next.dynamic.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { compileMDX } from './next.mdx.compiler.mjs';
2222
// This is the combination of the Application Base URL and Base PATH
2323
const baseUrlAndPath = `${BASE_URL}${BASE_PATH}`;
2424

25-
// This is a small utility that allows us to quickly separate locale from the remaning pathname
25+
// This is a small utility that allows us to quickly separate locale from the remaining pathname
2626
const getPathname = (path = []) => path.join('/');
2727

2828
// This maps a pathname into an actual route object that can be used

pages/en/guides/diagnostics/memory/using-heap-profiler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Finally, look at the snapshot data:
5858

5959
![heap profiler tutorial step 3][heap profiler tutorial 3]
6060

61-
Check the [useful links](#useful-links) section for futher information
61+
Check the [useful links](#useful-links) section for further information
6262
about memory terminology.
6363

6464
## Sampling Heap Profiler
@@ -68,7 +68,7 @@ over time. Since it is sampling based its overhead is low enough to use in
6868
production systems.
6969

7070
> You can use the module [`heap-profiler`][] to start and stop the heap
71-
> profiler programatically.
71+
> profiler programmatically.
7272
7373
### How To
7474

pages/en/guides/diagnostics/poor-performance/using-linux-perf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ from step 6.
7777

7878
Because `perf` output is not a Node.js specific tool, it might have issues with how JavaScript code is optimized in
7979
Node.js. See [perf output issues](/guides/diagnostics-flamegraph/#perf-output-issues) for a
80-
futher reference.
80+
further reference.
8181

8282
## Useful Links
8383

0 commit comments

Comments
 (0)