if (Object.values(entry).some((value) => value === undefined)) {
throw Error('YOUR ERROR MESSAGE');
}
if (setCurrentUser) {
setCurrentUser("some string")
}
setCurrentUser?.("some string")
type TAuthContext = [string | null, Dispatch<SetStateAction<string | null>> | null];
setMatched(findInput.matchFound.sort((first, second) => first.price[0] - second.price[0]));
setMatched([...findInput.matchFound.sort((first, second) => first.price[0] - second.price[0])]);