chore: update cinny submodule to latest dirty commit and refactor mobile swipe gesture handling
This commit is contained in:
20
overlay/src/app/pages/MobileFriendly.tsx
Normal file
20
overlay/src/app/pages/MobileFriendly.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
type MobileFriendlyClientNavProps = {
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
/** Server sidebar stays mounted on compact detail routes for swipe-back reveal. */
|
||||
export function MobileFriendlyClientNav({ children }: MobileFriendlyClientNavProps) {
|
||||
return children;
|
||||
}
|
||||
|
||||
type MobileFriendlyPageNavProps = {
|
||||
path: string;
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
/** Channel list stays mounted on compact detail routes for swipe-back reveal. */
|
||||
export function MobileFriendlyPageNav({ path: _path, children }: MobileFriendlyPageNavProps) {
|
||||
return children;
|
||||
}
|
||||
Reference in New Issue
Block a user