Skip to content

Commit 19f260e

Browse files
authored
Merge pull request #11 from johelder/dev
Release v1.0.2
2 parents e1f27c4 + 47a259b commit 19f260e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,5 @@ body:
6363
attributes:
6464
label: Reproducible example repository
6565
description: Please provide a link to a repository on GitHub with a reproducible example.
66-
render: js
6766
validations:
6867
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json
12
blank_issues_enabled: false
23
contact_links:
34
- name: Feature Request 💡

src/components/caret.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { useEffect } from 'react';
2-
import { StyleSheet, Animated, useAnimatedValue } from 'react-native';
1+
import { useEffect, useRef } from 'react';
2+
import { StyleSheet, Animated } from 'react-native';
33
import { DEFAULT_DARK_COLOR } from '../constants';
44
import { useTextInputOTP } from '../hooks/use-text-input-otp';
55

66
export function Caret() {
7-
const opacity = useAnimatedValue(0);
7+
const opacity = useRef(new Animated.Value(0)).current;
88
const { caretColor } = useTextInputOTP();
99

1010
useEffect(() => {

0 commit comments

Comments
 (0)