chore: minor tweak
This commit is contained in:
parent
0cf9405a65
commit
0694666a21
|
@ -38,7 +38,7 @@ interface IRoomNavBottomFAB {
|
||||||
const NavBottomFAB = ({ y, onPress, isThread }: IRoomNavBottomFAB) => {
|
const NavBottomFAB = ({ y, onPress, isThread }: IRoomNavBottomFAB) => {
|
||||||
const { theme } = useTheme();
|
const { theme } = useTheme();
|
||||||
const [show, setShow] = useState(false);
|
const [show, setShow] = useState(false);
|
||||||
const handleOnPress = useCallback(() => onPress(), []); // TODO - check this
|
const handleOnPress = useCallback(() => onPress(), []);
|
||||||
const toggle = (v: boolean) => setShow(v);
|
const toggle = (v: boolean) => setShow(v);
|
||||||
|
|
||||||
useCode(
|
useCode(
|
||||||
|
|
|
@ -138,11 +138,11 @@ interface IRoomViewProps {
|
||||||
|
|
||||||
export interface IRoomItem {
|
export interface IRoomItem {
|
||||||
id?: string;
|
id?: string;
|
||||||
t: any;
|
t: string;
|
||||||
rid: string;
|
rid: string;
|
||||||
tmid?: string;
|
tmid?: string;
|
||||||
ts: Date;
|
ts: Date;
|
||||||
status?: any;
|
status?: string;
|
||||||
u?: { _id: string };
|
u?: { _id: string };
|
||||||
loaderItem: {
|
loaderItem: {
|
||||||
t: string;
|
t: string;
|
||||||
|
@ -153,7 +153,7 @@ export interface IRoomItem {
|
||||||
interface INavToThread {
|
interface INavToThread {
|
||||||
id?: string;
|
id?: string;
|
||||||
tmsg?: string;
|
tmsg?: string;
|
||||||
t?: any;
|
t?: string;
|
||||||
e2e?: string;
|
e2e?: string;
|
||||||
tmid?: string;
|
tmid?: string;
|
||||||
tlm?: string;
|
tlm?: string;
|
||||||
|
|
Loading…
Reference in New Issue