fix: type safety for profile page, exclude e2e from tsconfig
This commit is contained in:
@@ -118,7 +118,7 @@ export default function ProfilePage() {
|
||||
)
|
||||
}
|
||||
|
||||
const user = session.user
|
||||
const user = session!.user!
|
||||
const statsCards = [
|
||||
{ label: "Comparisons", value: stats?.totalComparisons ?? 0, icon: BarChart3 },
|
||||
{ label: "Total Views", value: stats?.totalViews ?? 0, icon: Eye },
|
||||
|
||||
Reference in New Issue
Block a user