From bebf885de8ea38e6e77caef433605f2de834f605 Mon Sep 17 00:00:00 2001 From: przeq piciel Date: Sat, 31 Aug 2024 19:15:27 +0000 Subject: [PATCH] clean the code --- app/components/Pterodactyl/files.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/components/Pterodactyl/files.tsx b/app/components/Pterodactyl/files.tsx index e8a1f83..d660b4a 100644 --- a/app/components/Pterodactyl/files.tsx +++ b/app/components/Pterodactyl/files.tsx @@ -26,9 +26,6 @@ export default function files(pterodactyl: any) { throw new Error(`HTTP error! status: ${response.status}`); } console.log(response); - if (response.ok) { - // fetchFiles(); - } } catch (error) { console.error("Error fetching data:", error); }