Skip to content

Commit

Permalink
rename: NickName -> Nickname으로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pakxe committed Nov 20, 2024
1 parent 4cde069 commit c571bd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/src/hooks/createEvent/useSetNicknameStep.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {useState} from 'react';

import validateMemberName from '@utils/validate/validateMemberName';
import {NickName} from 'types/createEvent';
import {Nickname} from 'types/serviceType';

type UseSetNicknameStepProps = ReturnType<typeof useSetNicknameStep>;

const useSetNicknameStep = () => {
const [nickname, setNickname] = useState<NickName>('');
const [nickname, setNickname] = useState<Nickname>('');
const [errorMessage, setErrorMessage] = useState<string | null>(null);
const [canSubmit, setCanSubmit] = useState(false);

Expand Down
4 changes: 2 additions & 2 deletions client/src/types/serviceType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ export interface EventId {
}

export type EventName = string;
export type NickName = string;
export type Nickname = string;
export type Password = string;

export interface EventCreationData {
eventName: EventName;
nickname: NickName;
nickname: Nickname;
password: Password;
}

Expand Down

0 comments on commit c571bd9

Please sign in to comment.