diff --git a/package.json b/package.json index 57fdb871..f39b2a97 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "scripts": { "start": "vite", - "start:dev": "vite-live-preview --reload --port=8444", + "start:dev": "vite-live-preview --reload --port=8443", "build": "vite build", "preview": "vite preview", "test:lint": "prettier --log-level silent --write . && eslint \"./src/**/*.?(js|jsx|ts|tsx)\"", @@ -119,4 +119,4 @@ "vite-tsconfig-paths": "^4.3.2", "vitest": "^1.6.0" } -} +} \ No newline at end of file diff --git a/src/components/shared_ui/dialog/dialog.tsx b/src/components/shared_ui/dialog/dialog.tsx index 200a1cb6..0c0a4ef8 100644 --- a/src/components/shared_ui/dialog/dialog.tsx +++ b/src/components/shared_ui/dialog/dialog.tsx @@ -1,12 +1,9 @@ +/* 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 Icon from '../icon/icon'; -// import Button from '../button/button'; import Text from '../text'; -// import { useOnClickOutside } from '../../hooks'; type TDialog = { cancel_button_text?: string; @@ -149,6 +146,7 @@ const Dialog = ({ {has_close_icon && (
+ {/* TODO: need to fix this component by importing the Icon in shared UI */} {/* */}
)} @@ -163,6 +161,7 @@ const Dialog = ({ )}
{!!onCancel && ( + //TODO: need to fix this component by importing the button in shared UI //