rudolfbono
01/10/2022, 7:23 AMCODeR
01/10/2022, 8:05 AMCODeR
01/10/2022, 8:06 AMjs
const App = () => {
const user = supabase.auth.user();
if (!user)
return (
<Routes>
<Route path="/" element={<LogIn />} />
<Route path="signup" element={<SignUp />} />
</Routes>
);
else if (user) return <RootApp />;
else return <p>loading</p>;
};
CODeR
01/10/2022, 8:10 AMTremalJack
01/10/2022, 8:46 AMsilentworks
01/10/2022, 9:21 AMoctalpixel
01/10/2022, 10:15 AMgrem
01/10/2022, 10:32 AMreact-query
and creating re-usable hooks for queries & mutations. Keeps stuff clean! I was curious however, type generation? Would something like... Defining models in prisma
schema and pushing that towards the supabase DB instance to get some typings (and slightly more comfortable then raw sql creation I guess) work?Daniel_pttb
01/10/2022, 11:30 AMimtiaz
01/10/2022, 2:05 PMZyrto
01/10/2022, 2:14 PMZyrto
01/10/2022, 2:14 PMStuart
01/10/2022, 2:23 PMimtiaz
01/10/2022, 2:47 PMVillage
01/10/2022, 2:49 PMstandard_init_linux.go:228: exec user process caused: exec format error
spamming my logs output. According to Google, this is due to platform issues but all the containers have builds for linux/arm64 (which is apparently the same as aarch64) on Docker Hub. Any help or ideas?Scott P
01/10/2022, 2:54 PMDaveo
01/10/2022, 4:06 PMmillu
01/10/2022, 4:28 PMjensen
01/10/2022, 4:37 PMMubo
01/10/2022, 6:29 PMgaryaustin
01/10/2022, 8:04 PMMubo
01/10/2022, 8:06 PMKerosz
01/10/2022, 8:50 PMpg_hashids
extension ? I've tried hash_encode
and id_encode
and it doesn't seem to workgaryaustin
01/10/2022, 8:56 PMKerosz
01/10/2022, 8:59 PMextensions.hash_encode
seems to work, thanks @Userdayvista
01/11/2022, 3:05 AMdayvista
01/11/2022, 3:34 AMdetectSessionInUrl: false
while initializing the client (I'm handling sessions manually)MaySoMusician
01/11/2022, 5:23 AMjensen
01/11/2022, 5:31 AMcyner
01/11/2022, 6:31 AMGOTRUE_SITE_URL
prefix, just stuff behind the /
portion. Any ideas?