about summary refs log tree commit diff
path: root/src/view/com/util/anim/TriggerableAnimated.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2023-09-08 00:38:57 +0100
committerGitHub <noreply@github.com>2023-09-07 16:38:57 -0700
commita5b89dffa6713bb06c1c572bbdc00517cf5e9bc5 (patch)
treeac8aa2deec7cc24d9a3553bab0c48335d2e8677c /src/view/com/util/anim/TriggerableAnimated.tsx
parent00595591c46db6ebfa9a8ee404f275b43493f7e0 (diff)
downloadvoidsky-a5b89dffa6713bb06c1c572bbdc00517cf5e9bc5.tar.zst
Add ESLint React plugin (#1412)
* Add eslint-plugin-react

* Enable display name rule
Diffstat (limited to 'src/view/com/util/anim/TriggerableAnimated.tsx')
-rw-r--r--src/view/com/util/anim/TriggerableAnimated.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/anim/TriggerableAnimated.tsx b/src/view/com/util/anim/TriggerableAnimated.tsx
index 2a3cbb957..eedeeda03 100644
--- a/src/view/com/util/anim/TriggerableAnimated.tsx
+++ b/src/view/com/util/anim/TriggerableAnimated.tsx
@@ -26,7 +26,7 @@ type PropsInner = TriggerableAnimatedProps & {
 export const TriggerableAnimated = React.forwardRef<
   TriggerableAnimatedRef,
   TriggerableAnimatedProps
->(({children, ...props}, ref) => {
+>(function TriggerableAnimatedImpl({children, ...props}, ref) {
   const [anim, setAnim] = React.useState<TriggeredAnimation | undefined>(
     undefined,
   )