feat: oss-friends page

This commit is contained in:
Rotimi Best
2024-02-04 13:01:26 +01:00
parent ec368e924e
commit 51f188679e
11 changed files with 178 additions and 28 deletions
@@ -100,12 +100,6 @@
setCoursePolls();
}
// now the most interesting part,
// how do I implement real time functionality for polls?
// the only thing that is real time is the apps_poll_submission
// table, so I will have to listen to changes in that table
// and update the polls accordingly.
async function handleInsert(payload: RealtimePostgresChangesPayload<PollOptionsSubmissionType>) {
const newVote = payload.new as PollOptionsSubmissionType;