import React from 'react';
import TopBar from '../components/common/TopBar';
import FlashMessage from '../components/common/Flashmessage';

const Layout: React.FC = ({ children }) => {
    return (
        <div style={{ height: '100vh', overflow: 'hidden' }}>
            <TopBar />
            {children}
            <FlashMessage />
        </div>
    );
};

export default Layout;
