◉ ASCII IDE

[✓ Ready]

Explorer

[]
[-]📁src/
[-]📁components/
└──⚛️Header.tsx
└──⚛️Sidebar.tsx
└──⚛️Footer.tsx
[+]📁hooks/
└──⚛️App.tsx
└──⚛️index.tsx
[+]📁public/
└──📦package.json
└──⚙️tsconfig.json
App.tsx content

App.tsx

[TypeScript][UTF-8]
import React from 'react';
import { Header } from './components/Header';
import { Sidebar } from './components/Sidebar';
import { Footer } from './components/Footer';
import { useAuth } from './hooks/useAuth';

function App() {
  const { user, isAuthenticated } = useAuth();

  return (
    <div className="app">
      <Header user={user} />
      <div className="main-content">
        <Sidebar />
        <main>
          {isAuthenticated ? (
            <Dashboard />
          ) : (
            <LoginForm />
          )}
        </main>
      </div>
      <Footer />
    </div>
  );
}

export default App;
Line 1, Column 1
Spaces: 2 | UTF-8 | TypeScript React
Problems
[ERROR]App.tsx:15
Property "Dashboard" does not exist
[WARNING]Header.tsx:8
Missing key prop in list items
[INFO]useAuth.ts:23
Consider using useCallback for optimization
Debug Console
Debug console is not active. Click "Start Debug" to begin.
Terminal
$ npm run dev
Starting development server...
✓ Server running on http://localhost:3000
$ █