Fix: Add main.tsx entry point and index.css for Tailwind, simplify LoadTable

This commit is contained in:
Vivek 2026-06-08 11:40:42 +00:00
parent 6936c2b595
commit 89feb4a5ae
3 changed files with 11 additions and 3 deletions

View file

@ -1,5 +1,10 @@
import React from 'react'; import React from 'react';
export default function LoadTable() { export default function LoadTable() {
return <p>🗂 Load table will appear here add datafetching logic later.</p>; return (
} <div className="p-6 border rounded-md shadow-sm">
<h2 className="text-lg font-semibold mb-4">Freight Loads</h2>
<p className="text-gray-600">Data will load from Supabase</p>
</div>
);
}

View file

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View file

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom/client'; import ReactDOM from 'react-dom/client';
import App from './App.tsx'; import App from './App';
import './index.css'; import './index.css';
ReactDOM.createRoot(document.getElementById('root')!).render( ReactDOM.createRoot(document.getElementById('root')!).render(