Skip to content

Commit

Permalink
Merge pull request #30 from sillsdev/bug_fixes
Browse files Browse the repository at this point in the history
fix: bugs from Colin's testing (#30)
  • Loading branch information
andrew-polk authored Nov 6, 2024
2 parents 43adfee + 17c9989 commit 1d85b4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const useLanguageChooser = (
// either a script is selected or there are no scripts for the selected language
(!!selectedScript || selectedLanguage?.scripts?.length === 0) &&
// if unlisted language, name and country are required
(!isUnlistedLanguage ||
(!isUnlistedLanguage(selectedLanguage) ||
(customizableLanguageDetails.dialect !== "" &&
customizableLanguageDetails.region?.name !== ""));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ export const LanguageChooser: React.FunctionComponent<{
}}
css={css`
background-color: white;
margin-right: 16px;
margin-bottom: 10px;
font-size: 1.625rem; // 26px
font-weight: 700;
Expand Down

0 comments on commit 1d85b4f

Please sign in to comment.