Skip to content

Commit 42fbaa3

Browse files
committed
fix: 에러 메시지 수정
1 parent 5e774ae commit 42fbaa3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/DBColumnInsert/DBColumnInsert.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,12 @@ function DBColumnInsert({ onInsert }: PropTypes) {
6464
return;
6565
}
6666

67-
if (!onInsert(`\`${name.replace(/`/g, '``')}\``, backtickedType(type))) {
67+
const backtickedName = `\`${name.replace(/`/g, '``')}\``;
68+
if (!onInsert(backtickedName, backtickedType(type))) {
6869
setIsDupName(true);
6970
notification.error({
7071
message: 'Hive Column 입력 오류',
71-
description: `\`${name}\`은(는) 이미 존재하는 이름입니다.`,
72+
description: `${backtickedName}은(는) 이미 존재하는 이름입니다.`,
7273
placement: 'bottomRight',
7374
});
7475
return;

0 commit comments

Comments
 (0)