Add replacement rule

This commit is contained in:
Willian Mitsuda 2021-09-07 00:44:28 -03:00
parent a1f79ff0c0
commit 7b0137c7fe
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ export const useContract = (
}
const readContent = async () => {
const normalizedFilename = filename.replaceAll("@", "_");
const normalizedFilename = filename.replaceAll(/[@:]/g, "_");
const url = sourcifySourceFile(
checksummedAddress,
networkId,