From 0cc7a7d29cfa25c503cb3a760b2be49f04c232a4 Mon Sep 17 00:00:00 2001 From: Craig Macfadyen Date: Thu, 27 Feb 2025 08:48:41 +0000 Subject: [PATCH] button continues to be weirrd --- frontend/website/README.md | 2 +- frontend/website/src/App.tsx | 30 ++++-------------------------- 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/frontend/website/README.md b/frontend/website/README.md index dabe123..c8badd8 100644 --- a/frontend/website/README.md +++ b/frontend/website/README.md @@ -19,7 +19,7 @@ npm create vite@latest This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. -Currently, two official plugins are available: +Currently, two official plugins are available: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh diff --git a/frontend/website/src/App.tsx b/frontend/website/src/App.tsx index 585bfe7..c9bf2bc 100644 --- a/frontend/website/src/App.tsx +++ b/frontend/website/src/App.tsx @@ -1,6 +1,4 @@ import { useState } from 'react' -import reactLogo from './assets/react.svg' -import viteLogo from '/vite.svg' import './App.css' import { Button } from './components/ui/button' @@ -8,30 +6,10 @@ function App() { const [count, setCount] = useState(0) return ( - <> -
- - Vite logo - - - React logo - -
- -

Vite + React

-
- -

- Edit src/App.tsx and save to test HMR -

-
- {/*

Hello World!

*/} -

- Click on the Vite and React logos to learn more -

- +
+ +

Vite + React + shadcn

+
) }