diff options
| author | real-zephex <[email protected]> | 2024-03-21 13:15:44 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-03-21 13:15:44 +0530 |
| commit | 2f333479353864e9a5965459296bf8288592f1db (patch) | |
| tree | dc537000fce3d217fd891836588028d9c33352bc /src/app/search/api/fetchInfo.js | |
| parent | fixes: anime section is fully server rendered, added a loading screen for inf... (diff) | |
| download | dramalama-2f333479353864e9a5965459296bf8288592f1db.tar.xz dramalama-2f333479353864e9a5965459296bf8288592f1db.zip | |
fixes: minor performance improvements
Diffstat (limited to 'src/app/search/api/fetchInfo.js')
| -rw-r--r-- | src/app/search/api/fetchInfo.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/app/search/api/fetchInfo.js b/src/app/search/api/fetchInfo.js deleted file mode 100644 index 6ac0e69..0000000 --- a/src/app/search/api/fetchInfo.js +++ /dev/null @@ -1,9 +0,0 @@ -"use server"; - -export default async function testFunction(title) { - const res = await fetch( - "https://dramalama-api.vercel.app/anime/gogoanime/" + title - ); - const data = await res.json(); - return data; -} |