import { NoteProvider } from "../contexts/ActiveNoteContext";
import { NotesStoreProvider } from "../contexts/NotesStore";
import NoteEditor from "./NoteEditor"
import AppLayout from "./AppLayout"
import { ThemeProvider } from "../contexts/ThemeContext";

function App() {
  return (
    <ThemeProvider>
      <NotesStoreProvider>
        <NoteProvider>
          <AppLayout>
            <NoteEditor />
          </AppLayout>
        </NoteProvider>
      </NotesStoreProvider>
    </ThemeProvider>
  )
}

export default App
