Restricted usernames to be unique, removes the potential for username conflicts

This commit is contained in:
Alex van Andel committed 2021-06-09 12:26:00 +00:00
1 parent 7d81a1f1fb
commit e8a5357a89
4 files changed
+103 -47

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import { XCircleIcon } from '@heroicons/react/solid'
export default function ErrorAlert(props) {
return (
<div className="rounded-md bg-red-50 p-4">
<div className="flex">
<div className="flex-shrink-0">
<XCircleIcon className="h-5 w-5 text-red-400" aria-hidden="true" />
</div>
<div className="ml-3">
<h3 className="text-sm font-medium text-red-800">Something went wrong</h3>
<div className="text-sm text-red-700">
<p>
{props.message}
</p>
</div>
</div>
</div>
</div>
)
}