Skip to content

Commit

Permalink
refactor: reference info title change
Browse files Browse the repository at this point in the history
  • Loading branch information
swgvenghy committed Nov 5, 2024
1 parent 3fcf6fd commit d69e021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/use-preset-button.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const usePresetButton = () => {
const { addMessage, setLoading, updateLastMessage, updateLastReference, updateReferenceDisabled } = useChatStore();

const handleReferenceButtonClick = (references: referenceState[]) => {
let content = '답변 출처를 알려드릴게요!\n';
let content = '답변 출처를 알려드릴게요! 링크를 클릭하면 모집요강으로 확인할 수 있어요!\n';
// references가 null, undefined, 또는 길이가 0인 경우 체크
if (!references || references.length === 0) {
addMessage({ content: '출처 정보가 없습니다.', role: 'system' });
Expand Down

0 comments on commit d69e021

Please sign in to comment.