Skip to content

Commit

Permalink
update swr and use app route for dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed May 26, 2024
1 parent a2fe71e commit 9b438e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions components/toolbox/HeroCardSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import Button from "@/components/Primitives/Button";
* @returns
*/
const HeroCardSection = ({ post, tags, featuredImage, user }) => {
console.log(post)
console.log(user)

return (
<div
// className={`col-span-12 border border-1 border-[#dadee5] shadow-sm h-full rounded-2xl mx-auto relative overflow-hidden p-2 leading-tight w-full`}
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/blurHashToDataURL.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ export function addBase64s(data) {
}
});
} else if (key === "featuredImage" || key === "logo") {
console.log(obj[key])
// console.log(obj[key])

obj[`base64`] = createB64WithFallback(obj[key]?.blurhash);
console.log(obj[key]);
// console.log(obj[key]);
}
}
}
Expand Down

0 comments on commit 9b438e4

Please sign in to comment.