From faebd0afb6b4206ae50fc676a333061f30026da9 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Thu, 20 Mar 2025 23:32:52 +0000 Subject: [PATCH] small fixes --- src/Components/Profile/ProfileView.tsx | 2 +- src/Components/Profile/Templates/FlexForm.tsx | 4 +++- src/Components/Profile/Templates/FlexView.tsx | 6 +++--- src/assets/css/tailwind.css | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Components/Profile/ProfileView.tsx b/src/Components/Profile/ProfileView.tsx index 7e4c5944..6a1d1fe6 100644 --- a/src/Components/Profile/ProfileView.tsx +++ b/src/Components/Profile/ProfileView.tsx @@ -174,7 +174,7 @@ export function ProfileView({ attestationApi }: { attestationApi?: ItemsApi {item && ( <>
diff --git a/src/Components/Profile/Templates/FlexForm.tsx b/src/Components/Profile/Templates/FlexForm.tsx index bda61d1a..1c4c3e3c 100644 --- a/src/Components/Profile/Templates/FlexForm.tsx +++ b/src/Components/Profile/Templates/FlexForm.tsx @@ -39,7 +39,9 @@ export const FlexForm = ({ {...templateItem.item} /> ) : ( -
Component not found
+
+ {templateItem.collection} form not found +
) })}
diff --git a/src/Components/Profile/Templates/FlexView.tsx b/src/Components/Profile/Templates/FlexView.tsx index 9a9b1267..2e7abdd5 100644 --- a/src/Components/Profile/Templates/FlexView.tsx +++ b/src/Components/Profile/Templates/FlexView.tsx @@ -19,8 +19,6 @@ const componentMap = { } export const FlexView = ({ item }: { item: Item }) => { - // eslint-disable-next-line no-console - console.log(item) return (
{item.layer?.itemType.profileTemplate.map( @@ -30,7 +28,9 @@ export const FlexView = ({ item }: { item: Item }) => { return TemplateComponent ? ( ) : ( -
Component not found
+
+ {templateItem.collection} view not found +
) }, )} diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index 106d7dca..97a175bb 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -1,7 +1,7 @@ @import 'tailwindcss' prefix(tw); @plugin "daisyui" { themes: light --default, dark --prefersdark, valentine, retro, aqua, cyberpunk, caramellatte, abyss, silk; -}; +} @theme { --animate-*: initial;