cleaner shouldViewerRedirect

This commit is contained in:
@wwwjim 2020-11-17 12:46:54 -08:00
parent 68e16e28ce
commit eb701fd26e

View File

@ -309,11 +309,11 @@ export const shouldRedirect = async ({ id }) => {
id,
});
if (!user || user.error) {
return false;
if (user && user.id) {
return true;
}
return true;
return false;
};
// TODO(jim): Work on better serialization when adoption starts occuring.