Skip to content

Commit

Permalink
Merge pull request #61 from MARU-EGG/TSK-999-HotFix
Browse files Browse the repository at this point in the history
Tsk 999 hot fix
  • Loading branch information
swgvenghy authored Nov 6, 2024
2 parents 694d59a + 8d220d7 commit 8e3c02b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
13 changes: 13 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,17 @@
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
<script>
(function (j, ennifer) {
j['dmndata'] = [];
j['jenniferFront'] = function (args) {
window.dmndata.push(args);
};
j['dmnaid'] = ennifer;
j['dmnatime'] = new Date();
j['dmnanocookie'] = false;
j['dmnajennifer'] = 'JENNIFER_FRONT@INTG';
})(window, 'e0231e00');
</script>
<script async src="https://d-collect.jennifersoft.com/e0231e00/demian.js"></script>
</html>
4 changes: 2 additions & 2 deletions 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 All @@ -16,7 +16,7 @@ const usePresetButton = () => {
references.map((reference, index) => {
content += `\n출처${index + 1}번: ${reference.link}\n`;
});
content += '\n**답변을 꼭 확인해주세요!**';
content += '\n📌 **답변을 꼭 확인해주세요!** ';
addMessage({ content: content, role: 'system' });
updateReferenceDisabled(true);
};
Expand Down
1 change: 0 additions & 1 deletion src/ui/components/molecule/chat-form/chat-form.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import TextInput from '../../atom/text-input/text-input';
import IconButton from '../../atom/icon/icon-button';
import { ReactComponent as SendIcon } from '../../../../assets/Send.svg';
import AutoCompleteList from '../../atom/auto-complete/auto-complete';
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/molecule/chat-section/chat-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const ChatSection: React.FC = () => {
<ChatCard role="user" content={type === 'SUSI' ? '수시' : type === 'JEONGSI' ? '정시' : '편입'} />
<ChatCard
role="system"
content={`어떤 세부 학과가 궁금하신가요? 아래에서 세부 전형을 선택해주세요!`}
content={`어떤 세부 전형이 궁금하신가요? 아래에서 세부 전형을 선택해주세요!`}
></ChatCard>
<div>{selectedName ? <></> : <Dropdown type={type} items={itemsArray} />}</div>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/user-domain/question-preset-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const QuestionPresetButtons = () => {
<PresetButton onClick={() => handleReferenceButtonClick(lastReference)}>👆 출처를 알고싶어요</PresetButton>
)}
<PresetButton onClick={() => handleButtonClick('전형일정')}>전형일정</PresetButton>
<PresetButton onClick={() => handleButtonClick('면접 유의사항')}>면접유의사항</PresetButton>
<PresetButton onClick={() => handleButtonClick('블라인드 면접 유의사항')}>면접유의사항</PresetButton>
<PresetButton onClick={() => handleButtonClick('제출서류 유의사항')}>제출서류</PresetButton>
<PresetButton onClick={() => handleReultButtonClick('입시결과')}>입시결과</PresetButton>
<PresetButton onClick={() => handleButtonClick('실기고사')}>실기고사</PresetButton>
Expand Down

0 comments on commit 8e3c02b

Please sign in to comment.