'init'
This commit is contained in:
12
app/views/Dialogs/Dialogs.tsx
Normal file
12
app/views/Dialogs/Dialogs.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { DialogsPanel } from "@/app/components/DialogsPanel/DialogsPanel";
|
||||
import { useRosettaBreakpoints } from "@/app/hooks/useRosettaBreakpoints";
|
||||
import { Navigate } from "react-router-dom";
|
||||
|
||||
export function Dialogs() {
|
||||
const {lg} = useRosettaBreakpoints();
|
||||
return (
|
||||
<>
|
||||
{lg ? <Navigate to={'/main'}></Navigate> : <DialogsPanel></DialogsPanel>}
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user