UI changes

This commit is contained in:
Dobromir Popov
2024-03-02 21:31:50 +02:00
parent 32a713420e
commit 5998371222
11 changed files with 17 additions and 17 deletions

View File

@ -84,7 +84,7 @@ export default function CartEventPage({ items, locations }: ICartEventPageProps)
</table>
<button className="button bg-blue-500 hover:bg-blue-700"
onClick={() => setAddNew(!addnew)}
> {addnew ? "обратно" : "Добави нов"}</button>
> {addnew ? "Отмени" : "Добави нов"}</button>
{addnew && <CartEventForm locations={locations} />}
</div>
</ProtectedRoute>