on master help sign in
fix: updates from code review
82b5914Matt Condon (shrugs)
src/indigo-react/components/SelectInput.js+1
@@ -6,6 +6,7 @@ import { ErrorText } from './Typography';
6import useOnClickOutside from 'indigo-react/lib/useOnClickOutside';
6import useOnClickOutside from 'indigo-react/lib/useOnClickOutside';
7import AccessoryIcon from './AccessoryIcon';
7import AccessoryIcon from './AccessoryIcon';
8
8
9+// NOTE: if we really care about accessibility, we should pull in a dependency
9export default function SelectInput({
10export default function SelectInput({
10 // visuals
11 // visuals
11 name,
12 name,
src/indigo-react/lib/useOnClickOutside.js+1−1
@@ -1,6 +1,6 @@
1import { useEffect } from 'react';
1import { useEffect } from 'react';
2
2
3−//via https:// usehooks.com/useOnClickOutside/
3+// via https:// usehooks.com/useOnClickOutside/
4
4
5export default function useOnClickOutside(ref, handler) {
5export default function useOnClickOutside(ref, handler) {
6 useEffect(() => {
6 useEffect(() => {
src/views/Login/Ledger.js+1−1
@@ -105,7 +105,7 @@ export default function Ledger({ className }) {
105 }
105 }
106 }, [useCustomPath, setHdPath, basePathPattern, accountIndex]);
106 }, [useCustomPath, setHdPath, basePathPattern, accountIndex]);
107
107
108− const isHTTPS = document.location.protocol === 'http:';
108+ const isHTTPS = document.location.protocol === 'https:';
109
109
110 // when not on https, tell user how to get there
110 // when not on https, tell user how to get there
111 const renderHTTP = () => (
111 const renderHTTP = () => (