Skip to content

Commit

Permalink
Merge pull request #36 from unfoldingWord/develop
Browse files Browse the repository at this point in the history
Fixes typo
  • Loading branch information
richmahn authored Oct 3, 2024
2 parents b62b992 + f543169 commit e1f878f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SelectResourceToPreviewModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export default function SelectResourceToPreviewModal({ canLoad, showModal, setSh
renderInput={(params) => <TextField {...params} label="Book" variant="outlined" />}
isOptionEqualToValue={(option, value) => option.identifier === value.identifier}
onChange={(event, option) => {
if (!selectedBook || selectedBook.identifer != option.identifier) {
if (!selectedBook || selectedBook.identifier != option.identifier) {
setSelectedBook(option);
}
}}
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useGenerateTranslationAcademyFileContents.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function useGenerateTranslationAcademyFileContents({ catalogEntry
.forEach((ingredient, i) => {
const manualPath = `${catalogEntry.repo.name.toLowerCase()}/${ingredient.path.replace(/^\.\//, '')}`;
if (!(manualPath + '/' in zipFileData.files)) {
setErrorMessage(`Manual given in manifest file does not exist: ${ingredient.identifer}`);
setErrorMessage(`Manual given in manifest file does not exist: ${ingredient.identifier}`);
return;
}
articleMap[ingredient.identifier] = {
Expand Down

0 comments on commit e1f878f

Please sign in to comment.