Skip to content

Commit

Permalink
refactor: 하이퍼링크 활성화 조건이랑 일치하도록 수정 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
semnil5202 authored May 5, 2024
1 parent c8f8b9d commit a220cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/components/HyperLinkText/HyperLinkText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const convertHyperLinkTexts = ({ font, color, lineHeight = 'normal', children: t
<Paragraph as="p" key={`${line}-${idx}`} font={font} color={color} lineHeight={lineHeight}>
{line.split(' ').map((word, idx) => {
const isFirst = idx === 0;
const link = word.startsWith('www') ? `https://${word}` : word;
const link = word.startsWith('www.') ? `https://${word}` : word;

if (LINK_REG_EXP.test(word)) {
return (
Expand Down

0 comments on commit a220cfd

Please sign in to comment.