aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-07-02 07:30:39 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-07-02 07:40:14 +0530
commit9f8a402fec20868592f1f68a2634de46496ffbb5 (patch)
tree0c59923b5108c917cd75f24838193f0a2515b79e /src
parentUpgrade 'npm' to '8.13.2' and 'pnpm' to '7.4.1' (diff)
downloadferdium-app-9f8a402fec20868592f1f68a2634de46496ffbb5.tar.gz
ferdium-app-9f8a402fec20868592f1f68a2634de46496ffbb5.tar.zst
ferdium-app-9f8a402fec20868592f1f68a2634de46496ffbb5.zip
Upgrade node modules
Diffstat (limited to 'src')
-rw-r--r--src/components/ui/infobox/index.tsx6
-rw-r--r--src/containers/settings/EditServiceScreen.tsx2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/ui/infobox/index.tsx b/src/components/ui/infobox/index.tsx
index 91ef88747..976ed5bc4 100644
--- a/src/components/ui/infobox/index.tsx
+++ b/src/components/ui/infobox/index.tsx
@@ -81,20 +81,20 @@ const styles = (theme: Theme) => ({
81 }, 81 },
82 close: { 82 close: {
83 color: (props: IProps) => 83 color: (props: IProps) =>
84 theme.styleTypes[props.type ? props.type : 'primary'].contrast, 84 theme.styleTypes[props.type || 'primary'].contrast,
85 marginRight: -5, 85 marginRight: -5,
86 border: 0, 86 border: 0,
87 background: 'none', 87 background: 'none',
88 }, 88 },
89 cta: { 89 cta: {
90 borderColor: (props: IProps) => 90 borderColor: (props: IProps) =>
91 theme.styleTypes[props.type ? props.type : 'primary'].contrast, 91 theme.styleTypes[props.type || 'primary'].contrast,
92 borderRadius: theme.borderRadiusSmall, 92 borderRadius: theme.borderRadiusSmall,
93 borderStyle: 'solid', 93 borderStyle: 'solid',
94 borderWidth: 1, 94 borderWidth: 1,
95 background: 'none', 95 background: 'none',
96 color: (props: IProps) => 96 color: (props: IProps) =>
97 theme.styleTypes[props.type ? props.type : 'primary'].contrast, 97 theme.styleTypes[props.type || 'primary'].contrast,
98 marginLeft: 15, 98 marginLeft: 15,
99 padding: [4, 10], 99 padding: [4, 10],
100 fontSize: theme.uiFontSize, 100 fontSize: theme.uiFontSize,
diff --git a/src/containers/settings/EditServiceScreen.tsx b/src/containers/settings/EditServiceScreen.tsx
index 6545c3d7d..93fb4418d 100644
--- a/src/containers/settings/EditServiceScreen.tsx
+++ b/src/containers/settings/EditServiceScreen.tsx
@@ -268,7 +268,7 @@ class EditServiceScreen extends Component<EditServicesScreenProps> {
268 userAgentPref: { 268 userAgentPref: {
269 label: intl.formatMessage(globalMessages.userAgentPref), 269 label: intl.formatMessage(globalMessages.userAgentPref),
270 placeholder: service?.defaultUserAgent, 270 placeholder: service?.defaultUserAgent,
271 value: service?.userAgentPref ? service.userAgentPref : '', 271 value: service?.userAgentPref || '',
272 }, 272 },
273 }, 273 },
274 }; 274 };