mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 17:03:53 +00:00
de9a7a87fd
* refactor(project structure): UI * refactor(project structure): extract utilities * refactor(project structure): remove unused * refactor(project structure): electron * refactor(project structure): server refactor: migrate to vitest refactor: monorepo config * refactor: extract application menu * refactor: exit process * refactor: extract tray menu * chore: electron build * Added Seconds in studio clock #282 --------- Co-authored-by: Fabian Posenau <fabian@fphome.de> --------- Co-authored-by: Fabian Posenau <fabian.p99@gmx.de> Co-authored-by: Fabian Posenau <fabian@fphome.de>
18 lines
409 B
TypeScript
18 lines
409 B
TypeScript
import { ReactNode } from 'react';
|
|
|
|
import ProtectRoute from '../common/components/protect-route/ProtectRoute';
|
|
|
|
import style from './FeatureWrapper.module.scss';
|
|
|
|
interface FeatureWrapperProps {
|
|
children: ReactNode;
|
|
}
|
|
|
|
export default function FeatureWrapper({ children }: FeatureWrapperProps) {
|
|
return (
|
|
<ProtectRoute>
|
|
<div className={style.wrapper}>{children}</div>
|
|
</ProtectRoute>
|
|
);
|
|
}
|