diff --git a/lib/ui/src/settings/shortcuts.tsx b/lib/ui/src/settings/shortcuts.tsx
index c7a15f036e3..de942316fe6 100644
--- a/lib/ui/src/settings/shortcuts.tsx
+++ b/lib/ui/src/settings/shortcuts.tsx
@@ -53,9 +53,9 @@ export const Description = styled.div({
alignSelf: 'center',
});
-export const TextInput = styled(Input)<{ isValid: string }>(
- ({ isValid, theme }) =>
- isValid === 'error'
+export const TextInput = styled(Input)<{ valid: string }>(
+ ({ valid, theme }) =>
+ valid === 'error'
? {
animation: `${theme.animation.jiggle} 700ms ease-out`,
}
@@ -76,9 +76,9 @@ export const Fade = keyframes`
50% { opacity: 1; }
`;
-export const SuccessIcon = styled(Icons)<{ isValid: string }>(
- ({ isValid, theme }) =>
- isValid === 'valid'
+export const SuccessIcon = styled(Icons)<{ valid: string }>(
+ ({ valid, theme }) =>
+ valid === 'valid'
? {
color: theme.color.positive,
animation: `${Fade} 2s ease forwards`,
@@ -266,7 +266,7 @@ class ShortcutsScreen extends Component
-
+
));
diff --git a/lib/ui/src/settings/shortcuts_page.tsx b/lib/ui/src/settings/shortcuts_page.tsx
index ebf9aa4438f..7c3abd75fe5 100644
--- a/lib/ui/src/settings/shortcuts_page.tsx
+++ b/lib/ui/src/settings/shortcuts_page.tsx
@@ -9,7 +9,9 @@ import ShortcutsScreen from './shortcuts';
export default () => (
- {({api: { getShortcutKeys, setShortcut, restoreDefaultShortcut, restoreAllDefaultShortcuts }}) => (
+ {({
+ api: { getShortcutKeys, setShortcut, restoreDefaultShortcut, restoreAllDefaultShortcuts },
+ }) => (
(
);
-