From 456be68ca2344e1feb11a119053ab862848971af Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 28 Jul 2024 13:07:13 +0900
Subject: refactor(frontend): do not convert property names

---
 frontend/app/routes/dashboard.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'frontend/app/routes/dashboard.tsx')

diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index 407dda6..3ad465f 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -16,12 +16,12 @@ export default function Dashboard() {
       <div className="p-6 rounded shadow-md max-w-4xl mx-auto">
         <h1 className="text-3xl font-bold mb-4">
           {user.username}{" "}
-          {user.isAdmin && <span className="text-red-500 text-lg">admin</span>}
+          {user.is_admin && <span className="text-red-500 text-lg">admin</span>}
         </h1>
         <h2 className="text-2xl font-semibold mb-2">User</h2>
         <div className="mb-6">
           <ul className="list-disc list-inside">
-            <li>Name: {user.displayName}</li>
+            <li>Name: {user.display_name}</li>
           </ul>
         </div>
         <h2 className="text-2xl font-semibold mb-2">Game</h2>
-- 
cgit v1.3.1

