Skip to content

Commit

Permalink
Merge pull request #215 from sopt-makers/feat/#214_email_pattern
Browse files Browse the repository at this point in the history
[SP1] 리쿠르팅 알림 신청 입력란에 이메일 pattern 추가
  • Loading branch information
f0rever0 authored Oct 16, 2023
2 parents 04c7441 + 9351d84 commit d1c4681
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { track } from '@amplitude/analytics-browser';
import styled from '@emotion/styled';
import { useRef, useState } from 'react';
import { BASE_URL, DEFAULT_TIMEOUT } from '@src/lib/constants/client';
import axios from 'axios';
import { useRef, useState } from 'react';

const client = axios.create({
baseURL: BASE_URL,
Expand Down Expand Up @@ -53,6 +53,7 @@ const NotificationSection = () => {
<Input
type="email"
placeholder="메일을 입력해주세요"
pattern="[a-zA-Z0-9]+[@][a-zA-Z0-9]+[.]+[a-zA-Z]+[.]*[a-zA-Z]*"
ref={emailInputRef}
onClick={() => track('click_recruit_notification_input')}
/>
Expand Down

0 comments on commit d1c4681

Please sign in to comment.