first commit

This commit is contained in:
2025-06-26 15:31:08 -04:00
parent 5295da38e1
commit f0e72a0e88
16 changed files with 324 additions and 135 deletions
+19
View File
@@ -0,0 +1,19 @@
"use client";
import React from 'react';
export default function SyncButton() {
const handleSync = async () => {
const res = await fetch('/api/sync');
const json = await res.json();
alert(json.message);
};
return (
<button
onClick={handleSync}
className="mb-4 px-4 py-2 border rounded"
>
Sync
</button>
);
}