We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 920b60f commit 2d966f5Copy full SHA for 2d966f5
src/components/Header/SelectLanguage.tsx
@@ -42,7 +42,7 @@ const StyledSwitch = styled(Switch)`
42
.MuiSwitch-track {
43
border-radius: 22px;
44
background-color: ${({ namespace }) =>
45
- namespace === NameSpaceEnum.Main ? colors.secondary : colors.secondary};
+ namespace === NameSpaceEnum.Main ? colors.secondary : colors.primary};
46
opacity: 1;
47
height: 18px;
48
}
@@ -82,6 +82,7 @@ const SelectLanguage = (props: { defaultLanguage; dataCy }) => {
82
onChange={(e) => setDefaultLanguage(e.target.value as string)}
83
onSelect={setDefaultLanguage}
84
data-cy={props.dataCy}
85
+ loading={switchLoading}
86
>
87
<MenuItem value="pt" data-cy="testLanguagePt">
88
<ReactCountryFlag
0 commit comments