Skip to content

Commit

Permalink
Changes the NDEx linkouts to the dev instance as well -- #18
Browse files Browse the repository at this point in the history
  • Loading branch information
chrtannus committed Sep 19, 2024
1 parent 25a4ce4 commit a9c4a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Results.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ const NDExCard = ({ genes }) => {
fetchData()
}, [genes])

const href = `https://www.ndexbio.org/index.html#/search?searchType=All&searchString=${genes.join('%20')}&searchTermExpansion=false`
const href = `https://dev.ndexbio.org/index.html#/search?searchType=All&searchString=${genes.join('%20')}&searchTermExpansion=false`

return (
<div className={`relative w-full lg:w-3/5 p-4 rounded-xl min-h-28 sm:min-h-40 shadow-lg shadow-gray-200 ${error ? 'border-double border-4 border-red-100' : 'border border-gray-200'}`}>
Expand Down Expand Up @@ -438,7 +438,7 @@ const NDExCard = ({ genes }) => {
<tr key={net.externalId}>
<td className="whitespace-nowrap px-3 py-2 text-left text-sm text-gray-500">
<a
href={`https://www.ndexbio.org/viewer/networks/${net.externalId}`}
href={`https://dev.ndexbio.org/viewer/networks/${net.externalId}`}
target="_blank"
rel="noreferrer"
className=" group text-wrap"
Expand Down

0 comments on commit a9c4a15

Please sign in to comment.