feat: replace fsrVersion with upscalerType/upscalerVersion, add battery & custom system columns
This commit is contained in:
@@ -60,7 +60,8 @@ export default async function ProfilePage({
|
||||
fpsHigh: performanceEntries.fpsHigh,
|
||||
hardwareSlug: performanceEntries.hardwareSlug,
|
||||
hardwareName: hardware.name,
|
||||
fsrVersion: performanceEntries.fsrVersion,
|
||||
upscalerType: performanceEntries.upscalerType,
|
||||
upscalerVersion: performanceEntries.upscalerVersion,
|
||||
frameGenMethod: performanceEntries.frameGenMethod,
|
||||
verifiedAt: performanceEntries.verifiedAt,
|
||||
createdAt: performanceEntries.createdAt,
|
||||
|
||||
@@ -35,7 +35,7 @@ export default function ProfilePage() {
|
||||
|
||||
useEffect(() => {
|
||||
if (!isSessionLoading && !session) {
|
||||
router.push("/login")
|
||||
router.push(`/login?redirect=${encodeURIComponent(window.location.pathname)}`)
|
||||
}
|
||||
}, [session, isSessionLoading, router])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user