Changes all documents to have an explicit type

This commit is contained in:
2025-06-27 21:58:58 -07:00
parent 611eaca5b6
commit c00eb1d965
29 changed files with 309 additions and 363 deletions

View File

@@ -7,10 +7,7 @@ export const SessionEditForm = ({ session }: { session: Session }) => {
await pb.collection("documents").update(session.id, {
data: {
...session.data,
session: {
...session.data.session,
strongStart,
},
strongStart,
},
});
}
@@ -19,7 +16,7 @@ export const SessionEditForm = ({ session }: { session: Session }) => {
<form>
<h3 className="text-lg font-bold mb-4 text-slate-100">Strong Start</h3>
<AutoSaveTextarea
value={session.data.session.strongStart}
value={session.data.strongStart}
onSave={saveStrongStart}
placeholder="Enter a strong start for this session..."
aria-label="Strong Start"