Skip to content

Commit

Permalink
refactor: AnyType는 지양
Browse files Browse the repository at this point in the history
  • Loading branch information
stopmin committed Jul 16, 2024
1 parent 43201a3 commit 8d9a9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/newsletter/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Page = () => {
},
];

const renderContentWithTooltips = (content) => {
const renderContentWithTooltips = (content: string) => {
const words = content.split(/(\s+)/);
return words.map((word, index) => {
const cleanWord = word.replace(/[.,/#!$%^&*;:{}=\-_`~()]/g, '').trim();
Expand Down

0 comments on commit 8d9a9a1

Please sign in to comment.