mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-07 05:54:10 +03:00
12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
|
|
import DesktopEventView from "@/views/events/DesktopEventView";
|
||
|
|
import MobileEventView from "@/views/events/MobileEventView";
|
||
|
|
import { isMobile } from 'react-device-detect';
|
||
|
|
|
||
|
|
export default function Events() {
|
||
|
|
if (isMobile) {
|
||
|
|
return <MobileEventView />;
|
||
|
|
}
|
||
|
|
|
||
|
|
return <DesktopEventView />;
|
||
|
|
}
|