Merged in chore/eslint-curly-braces (pull request #3304)
Chore/eslint curly braces * Add eslint rule for curly braces * run eslint --fix for all files Approved-by: Linus Flood
This commit is contained in:
@@ -61,12 +61,12 @@ export function LanguageSwitcher({
|
||||
return (
|
||||
<div className={classNames}>
|
||||
<DialogTrigger>
|
||||
<Button className={styles.triggerButton} variant={"Text"} wrapping>
|
||||
<Button className={styles.triggerButton} variant="Text" wrapping>
|
||||
{isMobile && !isFooter ? null : (
|
||||
<MaterialIcon
|
||||
icon="globe"
|
||||
size={16}
|
||||
color={"Icon/Inverted"}
|
||||
color="Icon/Inverted"
|
||||
className={styles.globeIcon}
|
||||
/>
|
||||
)}
|
||||
@@ -109,7 +109,7 @@ export function LanguageSwitcher({
|
||||
<Popover
|
||||
offset={isFooter ? 0 : 21}
|
||||
className={styles.languageSwitcherPopover}
|
||||
placement={"bottom right"}
|
||||
placement="bottom right"
|
||||
>
|
||||
<Dialog>
|
||||
{({ close }) => (
|
||||
@@ -158,8 +158,8 @@ function LanguageSwitcherContent({
|
||||
<>
|
||||
<div className={styles.closeModalWrapper}>
|
||||
<Button
|
||||
variant={"Text"}
|
||||
size={"Medium"}
|
||||
variant="Text"
|
||||
size="Medium"
|
||||
onPress={closeModal}
|
||||
className={styles.closeModal}
|
||||
>
|
||||
@@ -167,17 +167,17 @@ function LanguageSwitcherContent({
|
||||
icon="chevron_left"
|
||||
size={28}
|
||||
className={styles.arrowBackIcon}
|
||||
color={"CurrentColor"}
|
||||
color="CurrentColor"
|
||||
/>
|
||||
<MaterialIcon
|
||||
icon="close"
|
||||
size={32}
|
||||
className={styles.closeIcon}
|
||||
color={"CurrentColor"}
|
||||
color="CurrentColor"
|
||||
/>
|
||||
</Button>
|
||||
</div>
|
||||
<Typography variant={"Title/Subtitle/md"}>
|
||||
<Typography variant="Title/Subtitle/md">
|
||||
<h3 className={styles.title}>
|
||||
{intl.formatMessage({
|
||||
id: "common.selectYourLanguage",
|
||||
|
||||
Reference in New Issue
Block a user