mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-05 00:15:51 +01: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 />;
|
||
|
}
|