aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/Tabs/TabItem.tsx
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-07-30 10:55:59 -0600
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2023-07-30 23:57:51 +0000
commit080d8b05297f3f5afcf33354a40a5201697b1df5 (patch)
tree35180bd3cb9fcd137feca3fe169032cbbb469463 /src/components/ui/Tabs/TabItem.tsx
parentrefactor: various improvements (#1296) (diff)
downloadferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.tar.gz
ferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.tar.zst
ferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.zip
refactor: more lint improvements
- set parserOptions.ecmaVersion to latest and env to es2024 in eslint config - install missing types libraries - install eslint-plugin-sonar - enable eslint-plugin-sonar recommended rules and declare jsx-runtime for react in eslint config - clean up disabled lint rules which don't inflict problems anymore - disable various lint issues and fix others
Diffstat (limited to 'src/components/ui/Tabs/TabItem.tsx')
-rw-r--r--src/components/ui/Tabs/TabItem.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ui/Tabs/TabItem.tsx b/src/components/ui/Tabs/TabItem.tsx
index 815dced8c..55dee42c6 100644
--- a/src/components/ui/Tabs/TabItem.tsx
+++ b/src/components/ui/Tabs/TabItem.tsx
@@ -12,8 +12,8 @@ export interface IProps {
12 title?: string; // it is used on Tabs.tsx 12 title?: string; // it is used on Tabs.tsx
13} 13}
14 14
15function TabItem({ children, title = '' }: IProps): ReactElement { 15const TabItem = ({ children, title = '' }: IProps): ReactElement => {
16 return <Fragment key={title}>{children}</Fragment>; 16 return <Fragment key={title}>{children}</Fragment>;
17} 17};
18 18
19export default TabItem; 19export default TabItem;