Added stats & SQL order by on get points

This commit is contained in:
2024-10-16 09:35:52 +02:00
parent 8bde354b71
commit 60a7570ca2
7 changed files with 137 additions and 7 deletions
+1
View File
@@ -38,6 +38,7 @@ export const useActions = ({
if (response.ok) {
await refreshDataset();
setLoveToDelete(null);
setIsLoading(false);
return;
}
} catch (error) {
+3 -1
View File
@@ -58,7 +58,9 @@ const MyLoves = () => {
<div className='infos'>
<p className='location'>{love.location}</p>
<p className='comment'>{love.comment || '-'}</p>
<p className='date'>Le: {love.createdat}</p>
<p className='date'>
Créé le: {love.createdat}
</p>
</div>
<div className='actionButtons'>