Fix: Add main.tsx entry point and index.css for Tailwind, simplify LoadTable
This commit is contained in:
parent
6936c2b595
commit
89feb4a5ae
3 changed files with 11 additions and 3 deletions
|
|
@ -1,5 +1,10 @@
|
|||
import React from 'react';
|
||||
|
||||
export default function LoadTable() {
|
||||
return <p>🗂️ Load table will appear here – add data‑fetching 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>
|
||||
);
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from './App.tsx';
|
||||
import App from './App';
|
||||
import './index.css';
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
|
|
|
|||
Loading…
Reference in a new issue