on master help sign in
fix: lowercase nudge copy & move to semantically correct location
64aee13Matt Condon (shrugs)
src/components/Accordion.js+1−1
@@ -34,7 +34,7 @@ export default function Accordion({
34 }>
34 }>
35 {option.text}
35 {option.text}
36 {option.disabled && (
36 {option.disabled && (
37− <sup className="f6"> Not Available on Mobile</sup>
37+ <sup className="f6 lowercase">{option.disabled}</sup>
38 )}
38 )}
39 <div
39 <div
40 className="abs"
40 className="abs"
src/views/Login/Hardware.js+5−1
@@ -30,7 +30,11 @@ export default function Hardware({ className, ...rest }) {
30 const hardwareAllowed = useBreakpoints([false, true, true]);
30 const hardwareAllowed = useBreakpoints([false, true, true]);
31
31
32 const options = useMemo(
32 const options = useMemo(
33+ () =>
33− () => OPTIONS.map(option => ({ ...option, disabled: !hardwareAllowed })),
34+ OPTIONS.map(option => ({
35+ ...option,
36+ disabled: !hardwareAllowed && ' not availble on mobile',
37+ })),
34 [hardwareAllowed]
38 [hardwareAllowed]
35 );
39 );
36
40