Skip to content

Commit 2897801

Browse files
committed
pre ping causing issues
1 parent f091474 commit 2897801

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/pages/Home.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@ import { Github, Linkedin, Mail, ArrowDown } from 'lucide-react';
22
import ExperienceCard from '../components/ExperienceCard';
33
import SkillBadge from '../components/SkillBadge';
44
import Header from '../components/Header';
5-
import { useEffect } from "react";
65

76
function Home() {
8-
// ping to warm up API and DB
9-
useEffect(() => {
10-
fetch("https://ryan-website-api.onrender.com/api/db/ping", {
11-
method: "GET",
12-
cache: "no-store",
13-
}).catch(() => {});
14-
}, []);
157

168
return (
179
<div className="bg-gray-900">

0 commit comments

Comments
 (0)