Skip to content

Commit

Permalink
delete useless code
Browse files Browse the repository at this point in the history
Signed-off-by: yubonluo <[email protected]>
  • Loading branch information
yubonluo committed Aug 23, 2024
1 parent 63b84a4 commit 2f23970
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,10 @@ export const WorkspaceInitial = () => {
const isDarkTheme = uiSettings.get('theme:darkMode');
const backGroundUrl = isDarkTheme ? BackgroundDarkSVG : BackgroundLightSVG;

const noAdminToolTip = (
<>
{i18n.translate('workspace.initial.card.createWorkspace.toolTip', {
defaultMessage:
'Contact your administrator to create a workspace or to be added to an existing one.',
})}
</>
);
const noAdminToolTip = i18n.translate('workspace.initial.card.createWorkspace.toolTip', {
defaultMessage:
'Contact your administrator to create a workspace or to be added to an existing one.',
});

const createButton = (
<EuiSmallButton
Expand Down

0 comments on commit 2f23970

Please sign in to comment.