Skip to content

Commit

Permalink
Merged with master
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-k88 committed May 6, 2024
1 parent 524f852 commit b06f552
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/features/SubscribeForm/SubscribeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { FormEvent, useState, type FC } from 'react'

import SubscribeIcon from '@/assets/images/subscriptionForm/icon-subsc.svg'
import { useResize } from '@/shared/libs/hooks/useResize'
import { EMsgType, FormMsg } from '@/shared/ui/FormMsg/FormMsg'
import { FormMsg } from '@/shared/ui/FormMsg/FormMsg'
import { EMsgType } from '@/shared/ui/FormMsg/model/types/types'
import Label from '@/shared/ui/Label/Label'
import Span from '@/shared/ui/Span/Span'

Expand Down
5 changes: 1 addition & 4 deletions src/shared/ui/FormMsg/FormMsg.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { FC, MouseEvent, useEffect, useState } from 'react'

import styles from './FormMsg.module.scss'
import { EMsgType } from './model/types/types'

export enum EMsgType {
form = 'form',
popup = 'popup'
}
interface IFormMsgProps {
text: string
isError: boolean
Expand Down
4 changes: 4 additions & 0 deletions src/shared/ui/FormMsg/model/types/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export enum EMsgType {
form = 'form',
popup = 'popup'
}

0 comments on commit b06f552

Please sign in to comment.