Remove unused code

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-08-18 19:42:45 +02:00
parent 610b21d40a
commit cbee2ff018
15 changed files with 10 additions and 251 deletions

View File

@ -21,9 +21,6 @@ const getLinks = (response: Pick<Response, 'headers'>): LinkHeader =>
const getNextLink = (response: Pick<Response, 'headers'>): string | undefined =>
getLinks(response).refs.find(link => link.rel === 'next')?.uri;
const getPrevLink = (response: Pick<Response, 'headers'>): string | undefined =>
getLinks(response).refs.find(link => link.rel === 'prev')?.uri;
/**
* Dumb client for grabbing static files.
* It uses FE_SUBDIRECTORY and parses JSON if possible.
@ -58,7 +55,6 @@ export {
type PlfeResponse,
getLinks,
getNextLink,
getPrevLink,
staticFetch,
getClient,
};