Spaces:
Running
on
A100
Running
on
A100
File size: 768 Bytes
ae238b3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
import React from 'react';
import TranscriptionPage from './pages/TranscriptionPage';
import WelcomeModal from './components/WelcomeModal';
import { useTranscriptionStore } from './stores/transcriptionStore';
import { trackWelcomeModalClose } from './analytics/gaEvents';
import Analytics from './analytics/Analytics';
const App: React.FC = () => {
const { showWelcomeModal, setShowWelcomeModal } = useTranscriptionStore();
const handleCloseWelcomeModal = () => {
trackWelcomeModalClose();
setShowWelcomeModal(false);
};
return (
<div className="App">
<TranscriptionPage />
<WelcomeModal
isOpen={showWelcomeModal}
onClose={handleCloseWelcomeModal}
/>
<Analytics />
</div>
);
};
export default App;
|