@@ -201,13 +201,13 @@ function AcceptInvitationContent() {
201201 < >
202202 < strong > { invitation . inviter_name } </ strong > has invited you to
203203 join < strong > { invitation . organization_name } </ strong > as a{ " " }
204- < strong > { invitation . role_name } </ strong > .
204+ < strong > { invitation . role } </ strong > .
205205 </ >
206206 ) : (
207207 < >
208208 You've been invited to join{ " " }
209209 < strong > { invitation . organization_name } </ strong > as a{ " " }
210- < strong > { invitation . role_name } </ strong > .
210+ < strong > { invitation . role } </ strong > .
211211 </ >
212212 ) }
213213 </ CardDescription >
@@ -224,7 +224,7 @@ function AcceptInvitationContent() {
224224 < div className = "flex justify-between" >
225225 < span className = "text-muted-foreground" > Role</ span >
226226 < span className = "font-medium capitalize" >
227- { invitation . role_name }
227+ { invitation . role }
228228 </ span >
229229 </ div >
230230 { invitation . inviter_email && (
@@ -320,12 +320,12 @@ function AcceptInvitationContent() {
320320 { invitation . inviter_name ? (
321321 < >
322322 < strong > { invitation . inviter_name } </ strong > has invited you to join
323- this organization as a < strong > { invitation . role_name } </ strong > .
323+ this organization as a < strong > { invitation . role } </ strong > .
324324 </ >
325325 ) : (
326326 < >
327327 You've been invited to join this organization as a{ " " }
328- < strong > { invitation . role_name } </ strong > .
328+ < strong > { invitation . role } </ strong > .
329329 </ >
330330 ) }
331331 </ CardDescription >
@@ -341,9 +341,7 @@ function AcceptInvitationContent() {
341341 </ div >
342342 < div className = "flex justify-between" >
343343 < span className = "text-muted-foreground" > Role</ span >
344- < span className = "font-medium capitalize" >
345- { invitation . role_name }
346- </ span >
344+ < span className = "font-medium capitalize" > { invitation . role } </ span >
347345 </ div >
348346 { invitation . inviter_email && (
349347 < div className = "flex justify-between" >
0 commit comments