fix: updates from code review
commit82b59144a8a174612504a93709670d726bfa2db1
authorMatt Condon (shrugs) <mattgcondon@gmail.com>
dateTue 2 Jul 2019, 20:10 (7 years ago)
parentceff015
src/indigo-react/components/SelectInput.js+1
@@ -6,6 +6,7 @@ import { ErrorText } from './Typography';
66import useOnClickOutside from 'indigo-react/lib/useOnClickOutside';
77import AccessoryIcon from './AccessoryIcon';
88
9+// NOTE: if we really care about accessibility, we should pull in a dependency
910export default function SelectInput({
1011 // visuals
1112 name,
src/indigo-react/lib/useOnClickOutside.js+1−1
@@ -1,6 +1,6 @@
11import { useEffect } from 'react';
22
3−//via https:// usehooks.com/useOnClickOutside/
3+// via https:// usehooks.com/useOnClickOutside/
44
55export default function useOnClickOutside(ref, handler) {
66 useEffect(() => {
src/views/Login/Ledger.js+1−1
@@ -105,7 +105,7 @@ export default function Ledger({ className }) {
105105 }
106106 }, [useCustomPath, setHdPath, basePathPattern, accountIndex]);
107107
108− const isHTTPS = document.location.protocol === 'http:';
108+ const isHTTPS = document.location.protocol === 'https:';
109109
110110 // when not on https, tell user how to get there
111111 const renderHTTP = () => (