Skip to content

Commit

Permalink
fix(home): unlock modal caps alert usage
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Aug 11, 2024
1 parent 2382cd7 commit cdf614b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Home/UnlockModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function UnlockModal({ onClose }: Props) {
const { setWalletLocked } = useContext(AppContext);
const [isLoading, setIsLoading] = useState(false);
const [passwordWrong, setPasswordWrong] = useState(false);
const { isCapsLockOn, keyHandlers } = useCapsLock();
const { isCapsLockEnabled, keyHandlers } = useCapsLock();

const {
register,
Expand Down Expand Up @@ -81,7 +81,7 @@ export default function UnlockModal({ onClose }: Props) {
disabled={isLoading}
{...keyHandlers}
/>
{isCapsLockOn && <CapsLockWarning />}
{isCapsLockEnabled && <CapsLockWarning />}
<ButtonWithSpinner
type="submit"
className="bd-button my-5 p-3"
Expand Down

0 comments on commit cdf614b

Please sign in to comment.