Updates links to use Link instead of anchor

This commit is contained in:
Alicia Sykes
2024-05-20 22:43:12 +01:00
parent a2f5bcb263
commit 97fd19492e
3 changed files with 15 additions and 23 deletions

View File

@@ -248,9 +248,8 @@ const Results = (props: { address?: string } ): JSX.Element => {
const urlTypeOnly = ['url'] as AddressType[]; // Many jobs only run with these address types
// const api = process.env.REACT_APP_API_ENDPOINT || '/api'; // Where is the API hosted?
const api = '/api'; // Where is the API hosted?
const api = import.meta.env.PUBLIC_API_ENDPOINT || '/api'; // Where is the API hosted?
// Fetch and parse IP address for given URL
const [ipAddress, setIpAddress] = useMotherHook({
jobId: 'get-ip',