Add replacement rule
This commit is contained in:
parent
a1f79ff0c0
commit
7b0137c7fe
|
@ -88,7 +88,7 @@ export const useContract = (
|
||||||
}
|
}
|
||||||
|
|
||||||
const readContent = async () => {
|
const readContent = async () => {
|
||||||
const normalizedFilename = filename.replaceAll("@", "_");
|
const normalizedFilename = filename.replaceAll(/[@:]/g, "_");
|
||||||
const url = sourcifySourceFile(
|
const url = sourcifySourceFile(
|
||||||
checksummedAddress,
|
checksummedAddress,
|
||||||
networkId,
|
networkId,
|
||||||
|
|
Loading…
Reference in New Issue