From d20e4d60f38604115d14846fd9a9f01bc4a8089c Mon Sep 17 00:00:00 2001 From: yonava Date: Fri, 16 Feb 2024 14:10:25 -0500 Subject: [PATCH] restored package versioning --- .../{ApplicationCard.tsx => ApplicationCard.jsx} | 10 +--------- src/package.json | 2 -- src/pages/apply.js | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) rename src/components/{ApplicationCard.tsx => ApplicationCard.jsx} (83%) diff --git a/src/components/ApplicationCard.tsx b/src/components/ApplicationCard.jsx similarity index 83% rename from src/components/ApplicationCard.tsx rename to src/components/ApplicationCard.jsx index d133560..a6beede 100644 --- a/src/components/ApplicationCard.tsx +++ b/src/components/ApplicationCard.jsx @@ -1,18 +1,10 @@ -import React from 'react'; - -export type ApplicationCardProps = { - title: string; - description: string; - applicationLink: string; - applicationOpen: boolean; -} export default function ApplicationCard ({ title, description, applicationLink, applicationOpen -}: ApplicationCardProps) { +}) { const apply = (applicationLink) => { window.open(applicationLink, "_blank"); diff --git a/src/package.json b/src/package.json index 009eb66..5225432 100644 --- a/src/package.json +++ b/src/package.json @@ -14,8 +14,6 @@ "@fortawesome/free-regular-svg-icons": "^5.12.1", "@fortawesome/free-solid-svg-icons": "^5.12.1", "@fortawesome/react-fontawesome": "^0.1.9", - "@types/react": "^18.2.55", - "@types/react-dom": "^18.2.19", "bootstrap": "^4.4.1", "firebase-tools": "^7.15.1", "jquery": "^3.4.0", diff --git a/src/pages/apply.js b/src/pages/apply.js index b6502c0..c7c302d 100644 --- a/src/pages/apply.js +++ b/src/pages/apply.js @@ -3,7 +3,7 @@ import Particles from 'react-particles-js'; import Container from 'react-bootstrap/Container'; import Row from 'react-bootstrap/Row'; import Col from 'react-bootstrap/Col'; -import ApplicationCard from '../components/ApplicationCard.tsx'; +import ApplicationCard from '../components/ApplicationCard.jsx'; import Footer from '../components/Footer'; import Navbar from '../components/Navbar';