From 8f1e19ea25fcb4a610e318a985de8360227bb1c6 Mon Sep 17 00:00:00 2001 From: Rupato Date: Tue, 2 Jul 2024 13:23:16 +0800 Subject: [PATCH] fix: eslint --- src/components/shared_ui/dialog/dialog.tsx | 2 +- src/components/shared_ui/dialog/{index.js => index.ts} | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename src/components/shared_ui/dialog/{index.js => index.ts} (98%) diff --git a/src/components/shared_ui/dialog/dialog.tsx b/src/components/shared_ui/dialog/dialog.tsx index 0c0a4ef8..e67ca80b 100644 --- a/src/components/shared_ui/dialog/dialog.tsx +++ b/src/components/shared_ui/dialog/dialog.tsx @@ -1,8 +1,8 @@ -/* eslint-disable simple-import-sort/imports */ import React from 'react'; import ReactDOM from 'react-dom'; import { CSSTransition } from 'react-transition-group'; import classNames from 'classnames'; + import Text from '../text'; type TDialog = { diff --git a/src/components/shared_ui/dialog/index.js b/src/components/shared_ui/dialog/index.ts similarity index 98% rename from src/components/shared_ui/dialog/index.js rename to src/components/shared_ui/dialog/index.ts index 2a8bce6b..afccdee4 100644 --- a/src/components/shared_ui/dialog/index.js +++ b/src/components/shared_ui/dialog/index.ts @@ -1,4 +1,5 @@ import Dialog from './dialog'; + import './dialog.scss'; export default Dialog;