Added get polls route

This commit is contained in:
Manik Maity
2024-11-13 10:59:04 +05:30
parent d37af8667a
commit e007f18bb5
5 changed files with 108 additions and 4 deletions

View File

@@ -25,7 +25,6 @@ function Bookmark() {
navigator(`/view/${pollId}`);
};
const handleRemoveBookmark = async (bookmarkId) => {
queryClient.setQueryData(["bookmarks"], (oldData) => {
return {
@@ -35,7 +34,7 @@ function Bookmark() {
});
await handleBookmark(bookmarkId);
};
return (
<div className="p-6 bg-base-200 h-screen">
<h1 className="md:text-4xl text-xl font-bold text-white mb-6">