Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
fix mismatched type
  • Loading branch information
jlangy committed Nov 15, 2023
1 parent 405a04c commit f14cd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/my-dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function MyDashboard() {
<Grid.Col span={4}>
<RealmRightPanel
key={new Date().getTime()}
realm={realms.find((v) => v.id === selectedId) as RealmProfile}
realm={realms.find((v) => String(v.id) === selectedId) as RealmProfile}
currentUser={currentUser}
onUpdate={handleUpdate}
onCancel={handleCancel}
Expand Down

0 comments on commit f14cd69

Please sign in to comment.