'WARNINGS: React Hook useEffect has a missing dependency: 'isReady'. Either include it or remove the dependency array

I run "npm run build" and then I see the warnings like this:

React Hook useEffect has a missing dependency: 'isReady'. Either include it or remove the dependency array react-hooks/exhaustive-deps

What is the meaning of this warning? And how do I get rid of it? Can you help me please?

    if (!isReady()) {
        return <Loading />;
    }

    const updateIds = async () => {
        if(!isReady())
            return;
        const currClc = await contract.methods.clinicId().call({ from: accounts[0] });

        setCurrentClinicId(currClc);
    }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source