chore: minor tweak

This commit is contained in:
AlexAlexandre 2021-12-08 13:09:10 -03:00
parent 0cf9405a65
commit 0694666a21
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ interface IRoomNavBottomFAB {
const NavBottomFAB = ({ y, onPress, isThread }: IRoomNavBottomFAB) => {
const { theme } = useTheme();
const [show, setShow] = useState(false);
const handleOnPress = useCallback(() => onPress(), []); // TODO - check this
const handleOnPress = useCallback(() => onPress(), []);
const toggle = (v: boolean) => setShow(v);
useCode(

View File

@ -138,11 +138,11 @@ interface IRoomViewProps {
export interface IRoomItem {
id?: string;
t: any;
t: string;
rid: string;
tmid?: string;
ts: Date;
status?: any;
status?: string;
u?: { _id: string };
loaderItem: {
t: string;
@ -153,7 +153,7 @@ export interface IRoomItem {
interface INavToThread {
id?: string;
tmsg?: string;
t?: any;
t?: string;
e2e?: string;
tmid?: string;
tlm?: string;