diff --git a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/IdealImage/index.js b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/IdealImage/index.js index 5bf57e0535..2d3f4b6447 100644 --- a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/IdealImage/index.js +++ b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/IdealImage/index.js @@ -119,7 +119,7 @@ export default class IdealImage extends Component { /* static propTypes = { - /!** how much to wait in ms until concider download to slow *!/ + /!** how much to wait in ms until consider download to slow *!/ threshold: PropTypes.number, /!** function to generate src based on width and format *!/ getUrl: PropTypes.func, diff --git a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/composeStyle.js b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/composeStyle.js index 5adf6fa701..7e2129500f 100644 --- a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/composeStyle.js +++ b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/composeStyle.js @@ -9,7 +9,7 @@ * and return as `style` property. * * Usage: - * Asume you have `theme` object, which can be css-module + * Assume you have `theme` object, which can be css-module * or object or other css-in-js compatible with css-module * * link diff --git a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/unfetch.js b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/unfetch.js index 3b5f10b0de..c4cb997ad5 100644 --- a/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/unfetch.js +++ b/packages/docusaurus-plugin-ideal-image/src/theme/IdealImageLegacy/components/unfetch.js @@ -6,7 +6,7 @@ export class UnfetchAbortController { } // modified version of https://github.com/developit/unfetch -// - ponyfill intead of polyfill +// - ponyfill instead of polyfill // - add support for AbortController export const unfetch = (url, options) => { options = options || {}; diff --git a/packages/docusaurus/src/server/translations/__tests__/translations.test.ts b/packages/docusaurus/src/server/translations/__tests__/translations.test.ts index 7d8253dfa3..75e45101cd 100644 --- a/packages/docusaurus/src/server/translations/__tests__/translations.test.ts +++ b/packages/docusaurus/src/server/translations/__tests__/translations.test.ts @@ -478,7 +478,7 @@ describe('readCodeTranslationFileContent', () => { return readCodeTranslationFileContent({localizationDir}); } - it("returns undefined if file does't exist", async () => { + it("returns undefined if file doesn't exist", async () => { await expect( readCodeTranslationFileContent({localizationDir: 'foo'}), ).resolves.toBeUndefined();