Skip to content

Commit

Permalink
show message before compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-zwets committed Jun 1, 2024
1 parent 2643880 commit b90d56b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/ArtifactsInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect } from 'react'
import { Artifact, Contract, Network, Utxo } from 'cashscript'
import React from 'react'
import { Artifact } from 'cashscript'

interface Props {
artifact?: Artifact
Expand Down Expand Up @@ -49,7 +49,8 @@ const ContractInfo: React.FC<Props> = ({ artifact }) => {
download JSON file
<img src='./downloadIcon.svg' style={{marginLeft:"5px", verticalAlign: "text-bottom", cursor:"pointer"}}/>
</p>
</div>) : null }
</div>) :
<div>Compile a CashScript contract to get started!</div> }
</div>
)
}
Expand Down

0 comments on commit b90d56b

Please sign in to comment.