Skip to content

Commit 71876c5

Browse files
fix(instructions): remove hardcode reference to TxTracer (#146)
1 parent 3ea9f52 commit 71876c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/InstructionsPage/components/InstructionTable/ExampleItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function stringToHex(str: string): string {
8282
const generatePlaygroundUrl = (example: Example): string => {
8383
const code = example.instructions.map(instr => instr.instruction).join("\n")
8484
const encodedCode = stringToHex(code)
85-
return `https://txtracer.ton.org/play/#lang=tasm&code=${encodedCode}`
85+
return `${window.location.origin}/play/#lang=tasm&code=${encodedCode}`
8686
}
8787

8888
interface ExampleItemProps {

0 commit comments

Comments
 (0)