Skip to content

Commit 0207bf4

Browse files
committed
comment out yet unsupported code
1 parent 73e83bb commit 0207bf4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/components/profile/Themecard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ export const ThemeCard: React.FC<GenericItemCardProps> = ({ mode, themeImg, name
77
<div className="flex flex-col w-full relative gap-3">
88
<h1 className="font-extrabold text-xl">{name}</h1>
99
<p className="text-primary-mutedForeground text-sm block ">{description}</p>
10-
<div className="flex absolute bottom-0 bg-primary-darkForeground flex-row gap-2">
10+
{/* <div className="flex absolute bottom-0 bg-primary-darkForeground flex-row gap-2">
1111
<a className=" cursor-pointer text-sm text-blue-500 ">View Theme</a>
1212
{mode == 1 && <a className="cursor-pointer text-sm text-red-500">Remove favourite</a>}
13-
</div>
13+
</div> */}
1414
</div>
1515
</div>
1616
)

src/components/profile/profileMaterialContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function ProfileMaterialContainer(Props: PropTypes) {
2525
p-10 bg-primary-darkForeground">
2626
<div className="">
2727
<h2 className="font-extrabold float-left text-xl ">{config[type].mainHeading}</h2>
28-
<div className="float-right">toggle here</div>
28+
{/* <div className="float-right">toggle here</div> */}
2929
</div>
3030
<MainContent {...Props} mode={mode} config={config[type]} />
3131
{ !loading && items.length > 0 && <a href={config[type].allUrl}

src/pages/UserProfile.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ const UserProfilePage: React.FC = () => {
3737

3838
// eslint-disable-next-line @typescript-eslint/no-unused-vars
3939
const {t} = useTranslation();
40-
const themeFetch = useFetchThemes(Endpoints.fetchApiThemes, 6, 1)
40+
const themeFetch = useFetchThemes(Endpoints.fetchApiThemes, 6, 1);
41+
console.log(themeFetch)
4142
return (
4243
<main className=" min-h-screen overflow-clip flex-nowrap bg-[#121212] text-white flex flex-col">
4344
<ProfileInfo userInfo={userData} />

0 commit comments

Comments
 (0)