Disable Duplicate Display Names
i was wondering if there was an easy way to disable accounts having the same display name?

snake_case so it should be display_name.snake_casedisplay_nameimport { supabase } from "../client";
export async function Auth_SignUpWithEmail({ email, password, username }: { email: string, password: string, username: string }) {
// Sign up the user
const { data, error } = await supabase.auth.signUp({
email,
password,
options: {
data: {
username: username,
picture: null,
stores: []
}
}
});
if (error) throw new Error(error.message);
return data
}