Add cors stuff
This commit is contained in:
parent
560c974bf3
commit
9363f643f0
10 changed files with 116 additions and 49 deletions
|
|
@ -14,9 +14,10 @@ export const AuthButton: React.FC = () => {
|
|||
}
|
||||
|
||||
if (auth.error) {
|
||||
console.error('Auth error:', auth.error);
|
||||
return (
|
||||
<div className="flex items-center gap-2 bg-red-500/20 px-4 py-2 rounded-xl text-sm">
|
||||
<span>Auth Error</span>
|
||||
<div className="flex items-center gap-2 bg-red-500/20 px-4 py-2 rounded-xl text-sm" title={auth.error.message}>
|
||||
<span>Auth Error: {auth.error.message}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue