refactor hedge fund page

This commit is contained in:
MuslemRahimi 2024-11-17 23:39:27 +01:00
parent 075de49040
commit 9ea2ceae99
2 changed files with 299 additions and 1640 deletions

View File

@ -1,6 +1,5 @@
import { displayCompanyName, getCache, setCache } from "$lib/store";
export const load = async ({ params, locals, setHeaders }) => {
export const load = async ({ params, locals }) => {
const getCIKNumber = async () => {
return params.slug;
};
@ -23,9 +22,6 @@ export const load = async ({ params, locals, setHeaders }) => {
(item) => item?.sharesNumber && item?.symbol
);
}
//displayCompanyName.update(() => output?.name ?? params.slug);
setHeaders({ "cache-control": "public, max-age=3000" });
return output;
};

File diff suppressed because it is too large Load Diff