+
@@ -137,7 +137,7 @@
{#if isLoaded}
-
+
Biotech companies can be among the most lucrative stocks if you invest wisely. Their stock prices can soar by +100% in a single day or plummet by the same amount, depending on the outcomes of clinical trials.
@@ -149,32 +149,32 @@
| + | Symbol | -+ | Drug | -+ | Indication | -+ | Status | -+ | Target Date | -+ | Change |
|---|---|---|---|---|---|---|---|---|---|---|---|
| + |
{item?.symbol}
@@ -201,24 +201,24 @@
|
-->
- + | {item?.drugName} | -+ | {item?.indication} | -+ | {item?.status?.length !== 0 ? item?.status : 'n/a'} | -+ | {item?.targetDate?.length !== 0 ? item?.targetDate : 'n/a'} | -+ | {#if item?.changesPercentage >=0} +{item?.changesPercentage}% {:else} diff --git a/src/routes/fda-calendar/+page.ts b/src/routes/fda-calendar/+page.ts index 8f3232d4..5e527078 100644 --- a/src/routes/fda-calendar/+page.ts +++ b/src/routes/fda-calendar/+page.ts @@ -11,7 +11,7 @@ export const load = async ({parent}) => { output = cachedData; } else { - const { apiURL, apiKey, user} = await parent(); + const { apiURL, apiKey} = await parent(); const response = await fetch(apiURL + '/fda-calendar', { method: 'GET', @@ -22,8 +22,6 @@ export const load = async ({parent}) => { output = await response.json(); - output = user?.tier !== 'Pro' ? output?.slice(0,6) : output; - setCache('', output, 'getFDACalendar'); } |