From 3e20219e4b995342d8b5a90ad9a682c6c8a771e5 Mon Sep 17 00:00:00 2001 From: Michael Myers Date: Tue, 17 Sep 2024 13:30:48 -0500 Subject: [PATCH] Fix naming --- web/packages/teleport/src/Users/Users.story.tsx | 6 +++--- web/packages/teleport/src/Users/Users.test.tsx | 6 +++--- web/packages/teleport/src/Users/Users.tsx | 8 ++++---- web/packages/teleport/src/Users/useUsers.ts | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/web/packages/teleport/src/Users/Users.story.tsx b/web/packages/teleport/src/Users/Users.story.tsx index 32bedc42f26aa..ef883f522fe65 100644 --- a/web/packages/teleport/src/Users/Users.story.tsx +++ b/web/packages/teleport/src/Users/Users.story.tsx @@ -47,10 +47,10 @@ export const Loaded = () => { ); }; -export const UsersNotEqualMAUNotice = () => { +export const UsersNotEqualMauNotice = () => { return ( - + ); }; @@ -147,6 +147,6 @@ const sample = { InviteCollaborators: null, onEmailPasswordResetClose: () => null, EmailPasswordReset: null, - showMAUInfo: false, + showMauInfo: false, onDismissUsersMAUNotice: () => null, }; diff --git a/web/packages/teleport/src/Users/Users.test.tsx b/web/packages/teleport/src/Users/Users.test.tsx index 25b5e80d392d9..9e1722417bb0c 100644 --- a/web/packages/teleport/src/Users/Users.test.tsx +++ b/web/packages/teleport/src/Users/Users.test.tsx @@ -57,7 +57,7 @@ describe('invite collaborators integration', () => { inviteCollaboratorsOpen: false, onEmailPasswordResetClose: () => undefined, EmailPasswordReset: null, - showMAUInfo: false, + showMauInfo: false, onDismissUsersMAUNotice: () => null, }; }); @@ -137,7 +137,7 @@ describe('Users not equal to MAU Notice', () => { inviteCollaboratorsOpen: false, onEmailPasswordResetClose: () => undefined, EmailPasswordReset: null, - showMAUInfo: true, + showMauInfo: true, onDismissUsersMAUNotice: jest.fn(), }; }); @@ -194,7 +194,7 @@ describe('email password reset integration', () => { inviteCollaboratorsOpen: false, onEmailPasswordResetClose: () => undefined, EmailPasswordReset: null, - showMAUInfo: false, + showMauInfo: false, onDismissUsersMAUNotice: () => null, }; }); diff --git a/web/packages/teleport/src/Users/Users.tsx b/web/packages/teleport/src/Users/Users.tsx index b767284ae8437..fbc322ceffb03 100644 --- a/web/packages/teleport/src/Users/Users.tsx +++ b/web/packages/teleport/src/Users/Users.tsx @@ -46,7 +46,7 @@ export function Users(props: State) { onStartDelete, onStartEdit, onStartReset, - showMAUInfo, + showMauInfo, onDismissUsersMAUNotice, onClose, onCreate, @@ -100,7 +100,7 @@ export function Users(props: State) { )} - {showMAUInfo && ( + {showMauInfo && (