Skip to content

Commit f1d32c7

Browse files
committed
remove extra Tab definition
1 parent d59b5e0 commit f1d32c7

File tree

1 file changed

+1
-11
lines changed
  • client/src/core/client/ui/components/v2/Tabs

1 file changed

+1
-11
lines changed

client/src/core/client/ui/components/v2/Tabs/Tab.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import { Localized } from "@fluent/react/compat";
21
import cn from "classnames";
32
import React from "react";
43

54
import BaseButton from "coral-ui/components/v2/BaseButton";
65
import { withStyles } from "coral-ui/hocs";
76

8-
import AriaInfo from "../AriaInfo";
9-
107
import styles from "./Tab.css";
118

129
export interface TabProps {
@@ -103,14 +100,7 @@ class Tab extends React.Component<TabProps> {
103100
title={title}
104101
onClick={this.handleTabClick}
105102
>
106-
<>
107-
<AriaInfo>
108-
<Localized id="ui-tabAriaPrefix">
109-
<span>Tab:</span>
110-
</Localized>
111-
</AriaInfo>
112-
{children}
113-
</>
103+
{children}
114104
</BaseButton>
115105
</li>
116106
);

0 commit comments

Comments
 (0)