Skip to content

Commit

Permalink
remove extra Tab definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kabeaty committed Sep 27, 2024
1 parent d59b5e0 commit f1d32c7
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions client/src/core/client/ui/components/v2/Tabs/Tab.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { Localized } from "@fluent/react/compat";
import cn from "classnames";
import React from "react";

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

import AriaInfo from "../AriaInfo";

import styles from "./Tab.css";

export interface TabProps {
Expand Down Expand Up @@ -103,14 +100,7 @@ class Tab extends React.Component<TabProps> {
title={title}
onClick={this.handleTabClick}
>
<>
<AriaInfo>
<Localized id="ui-tabAriaPrefix">
<span>Tab:</span>
</Localized>
</AriaInfo>
{children}
</>
{children}
</BaseButton>
</li>
);
Expand Down

0 comments on commit f1d32c7

Please sign in to comment.