From 6d7a9e53dae3a71f5f1e175f5144bfc052549601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noe=CC=81=20Malzieu?= Date: Mon, 1 Jul 2024 17:25:49 +0200 Subject: [PATCH] Fix typecheck --- utils/str.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/str.ts b/utils/str.ts index f1c5ef730..83c1f3655 100644 --- a/utils/str.ts +++ b/utils/str.ts @@ -1,10 +1,10 @@ import { useCallback, useEffect, useRef, useState } from "react"; import { Dimensions, PixelRatio, Platform, TextInput } from "react-native"; +import { getPreferredName } from "./profile"; import { getProfilesStore, useAccountsList } from "../data/store/accountsStore"; import { XmtpConversation } from "../data/store/chatStore"; import { ProfilesStoreType } from "../data/store/profilesStore"; -import { getPreferredName } from "./profile"; const { humanize } = require("../vendor/humanhash"); @@ -121,7 +121,7 @@ export const useLoopTxt = ( active: boolean ) => { const [step, setStep] = useState(0); - const interval = useRef(); + const interval = useRef(); const startInterval = useCallback(() => { if (interval.current) return; setStep(0);