Skip to content

Commit

Permalink
iframe url fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushKun committed Dec 5, 2023
1 parent 11fe89d commit ec219e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Code = ({ setShowSidebar }: { setShowSidebar: any }) => {
</div>
</div>
<div className="w-full h-full">
<iframe src={`/editor?contract=${activeContract}&type=${activeFile == "contract.js" ? "javascript" : "json"}`} className="w-full h-full"></iframe>
<iframe src={`/betterIDE/editor?contract=${activeContract}&type=${activeFile == "contract.js" ? "javascript" : "json"}`} className="w-full h-full"></iframe>
</div></> : <div className="text-center p-5">
Select a contract from the list or create a new one
</div>
Expand Down

0 comments on commit ec219e2

Please sign in to comment.