Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
kpatticha committed Sep 20, 2024
1 parent 857db67 commit 0dd6f26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
* 2.0.
*/

/*
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import React from 'react';
import { i18n } from '@kbn/i18n';
import {
Expand Down Expand Up @@ -47,8 +39,8 @@ export function Unauthorized({
onCancel={onClose}
onConfirm={onClose}
confirmButtonText={
<EuiButton data-test-subj="xpack.inventory.unauthorised.button.open" fill size="s">
{i18n.translate('xpack.inventory.unauthorised.button.openSurvey', {
<EuiButton data-test-subj="xpack.inventory.unauthorised.button" fill size="s">
{i18n.translate('xpack.inventory.unauthorised.button', {
defaultMessage: 'OK',
})}
</EuiButton>
Expand All @@ -60,7 +52,7 @@ export function Unauthorized({
href="https://ela.st/docs-entity-inventory"
external
>
{i18n.translate('xpack.inventory.unauthorized.linkLinkLabel', {
{i18n.translate('xpack.inventory.unauthorized.linkLabel', {
defaultMessage: 'Learn more',
})}
</EuiLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
* 2.0.
*/

/*
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import React from 'react';
import { i18n } from '@kbn/i18n';
import {
Expand Down Expand Up @@ -52,7 +44,7 @@ export function Welcome({
onConfirm={onConfirm}
confirmButtonText={
<EuiButton data-test-subj="xpack.inventory.welcome.button.open" fill size="s">
{i18n.translate('xpack.inventory.welcome.button.openSurvey', {
{i18n.translate('xpack.inventory.welcome.button', {
defaultMessage: 'OK',
})}
</EuiButton>
Expand Down

0 comments on commit 0dd6f26

Please sign in to comment.