Skip to content

Commit

Permalink
Move K12 menu item below language selector
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyEJohnson committed Sep 29, 2023
1 parent beae1a6 commit 781b6b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ function SubjectsMenu() {
url={`/subjects/${obj.value}`}
/>
))}
{language === 'en' ? <K12MenuItem /> : null}
{pathname.startsWith('/details/books') ? null : (
<LanguageSelectorWrapper>
<FormattedMessage id='view' defaultMessage='View' />{' '}
<LanguageLink locale={otherLocale} />
</LanguageSelectorWrapper>
)}
{language === 'en' ? <K12MenuItem /> : null}
</Dropdown>
);
}
Expand Down

0 comments on commit 781b6b3

Please sign in to comment.