Skip to content

Commit 8958c11

Browse files
authored
chore: fix typos in comment-out (#11197)
1 parent ba18a8b commit 8958c11

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/IdealImage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default class IdealImage extends Component {
119119

120120
/*
121121
static propTypes = {
122-
/!** how much to wait in ms until concider download to slow *!/
122+
/!** how much to wait in ms until consider download to slow *!/
123123
threshold: PropTypes.number,
124124
/!** function to generate src based on width and format *!/
125125
getUrl: PropTypes.func,

packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/composeStyle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* and return as `style` property.
1010
*
1111
* Usage:
12-
* Asume you have `theme` object, which can be css-module
12+
* Assume you have `theme` object, which can be css-module
1313
* or object or other css-in-js compatible with css-module
1414
*
1515
* <a {...compose(theme.link, theme.active, {color: "#000"})}>link</a>

packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/unfetch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class UnfetchAbortController {
66
}
77

88
// modified version of https://github.com/developit/unfetch
9-
// - ponyfill intead of polyfill
9+
// - ponyfill instead of polyfill
1010
// - add support for AbortController
1111
export const unfetch = (url, options) => {
1212
options = options || {};

packages/docusaurus/src/server/translations/__tests__/translations.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ describe('readCodeTranslationFileContent', () => {
478478
return readCodeTranslationFileContent({localizationDir});
479479
}
480480

481-
it("returns undefined if file does't exist", async () => {
481+
it("returns undefined if file doesn't exist", async () => {
482482
await expect(
483483
readCodeTranslationFileContent({localizationDir: 'foo'}),
484484
).resolves.toBeUndefined();

0 commit comments

Comments
 (0)