Iâm not familiar with that error, does that break the app?
What you could try is putting your ABI in a separate .json file, and importing/using that.
import ABI from './abi.json';
...
const [contractABI, setContractABI] = useState(JSON.stringify(ABI));