fix: buttons not working
This commit is contained in:
@@ -73,14 +73,14 @@ const DashboardView = ({
|
||||
return (
|
||||
<div className="p-4 max-w-6xl mx-auto bg-white shadow-lg rounded-lg mt-4">
|
||||
<h1 className="text-2xl font-bold mb-4 text-center text-gray-800">Foodsharing Pickup Manager</h1>
|
||||
<div className="bg-blue-50 border border-blue-100 rounded-lg p-4 mb-4">
|
||||
<div className="bg-blue-50 border border-blue-100 rounded-lg p-4 mb-4 sticky top-4 z-10 shadow">
|
||||
<div className="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
|
||||
<div>
|
||||
<p className="text-sm uppercase text-blue-600 font-semibold">Angemeldet</p>
|
||||
<p className="text-lg font-medium text-gray-800">{session.profile.name}</p>
|
||||
<p className="text-gray-500 text-sm">Profil-ID: {session.profile.id}</p>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2 items-center">
|
||||
<div className="flex flex-wrap gap-2 items-center">
|
||||
<button
|
||||
onClick={() => onRefresh({ block: false })}
|
||||
className="bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors"
|
||||
|
||||
Reference in New Issue
Block a user