Skip to content

Commit

Permalink
fix button
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheff committed Jan 27, 2024
1 parent 659f7d0 commit b34f476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const SchemaDashboard = (props) => {
<b>Endpoint:</b> https://schema.databio.org/{`${props.namespace}/${props.schema}.yaml`}<br/>
<b>Preview (this page):</b> https://schema.databio.org/?namespace={`${props.namespace}`}&schema={`${props.schema}`}<br/>

<button className="btn btn-primary my-4" href={`/${props.namespace}/${props.schema}.yaml`}>Download schema</button>
<a href={`/${props.namespace}/${props.schema}.yaml`}><button className="btn btn-primary my-4" >Download schema</button></a>

<h4>Preview</h4>
<pre style={divStyle}><code>{schema}</code></pre>
Expand Down

0 comments on commit b34f476

Please sign in to comment.