Skip to content

Commit

Permalink
change 'Скрыть' : 'Показать' logic and del import next App.
Browse files Browse the repository at this point in the history
  • Loading branch information
levil664 committed Apr 19, 2024
1 parent d90060e commit 062b327
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { GetListEmployee } from '@domains/employee/redux/interfaces'
import { RowType } from '@domains/employee/components/employeeList/interfaces'
import { searchColumns } from '@domains/employee/components/employeeList/constants'
import { AppRoutes, RoutePath } from '@domains/common/constants/routerEnums'
import App from 'next/app'

export function EmployeeList() {
const [searchRequestText, setSearchRequestText] = useState('')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const ValidatePhoneForm: React.FC<IValidatePhoneFormProps> = ({ onFinish,
const [smsCode, setSmsCode] = useState('')
const [isPhoneVisible, setIsPhoneVisible] = useState(false)
const [phoneValidateError, setPhoneValidateError] = useState(null)
const PhoneToggleLabel = isPhoneVisible ? 'Показать' : 'Скрыть'
const PhoneToggleLabel = isPhoneVisible ? 'Скрыть' : 'Показать'

const SMS_VALIDATOR = useCallback(
() => ({
Expand Down

0 comments on commit 062b327

Please sign in to comment.