Skip to content

Commit 1041858

Browse files
committed
fix: removes console.log
1 parent 524cb4b commit 1041858

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/post/PostContent.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ function optimizeImagesFromPost(markdown: string) {
2929
/(?:!\[(.*?)\]\(https:\/\/images.velog.io\/(.*?)\))/g,
3030
);
3131
if (!matches) return markdown;
32-
console.log(matches);
3332
const replacers = matches.map((match) => {
3433
const filename =
3534
match.match(/https:\/\/images.velog.io\/(.*?)\)/)?.[1] ?? '';
36-
console.log(filename);
3735
const proeperlyEncoded = encodeURIComponent(decodeURI(filename));
3836
return [
3937
match,

0 commit comments

Comments
 (0)