Skip to content

Commit

Permalink
Fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalzieu committed Jul 1, 2024
1 parent 5b0d483 commit 6d7a9e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/str.ts
Original file line number Diff line number Diff line change
@@ -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");

Expand Down Expand Up @@ -121,7 +121,7 @@ export const useLoopTxt = (
active: boolean
) => {
const [step, setStep] = useState(0);
const interval = useRef<NodeJS.Timer | undefined>();
const interval = useRef<NodeJS.Timeout | undefined>();
const startInterval = useCallback(() => {
if (interval.current) return;
setStep(0);
Expand Down

0 comments on commit 6d7a9e5

Please sign in to comment.