Skip to content

Commit 2de5a09

Browse files
committed
fix: unused theme
1 parent 712bb5e commit 2de5a09

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

js/app/component/card.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { util } from '../../common/util.js';
2-
import { theme } from '../../common/theme.js';
32
import { storage } from '../../common/storage.js';
43
import { session } from '../../common/session.js';
54

@@ -125,7 +124,6 @@ export const card = (() => {
125124
};
126125

127126
const renderBody = (comment, is_parent) => {
128-
const text = theme.isDarkMode('light', 'dark');
129127
const original = convertMarkdownToHTML(util.escapeHtml(comment.comment));
130128
const moreThanMaxLength = original.length > maxCommentLength;
131129

js/app/component/comment.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { like } from './like.js';
33
import { util } from '../../common/util.js';
44
import { pagination } from './pagination.js';
55
import { dto } from '../../connection/dto.js';
6-
import { theme } from '../../common/theme.js';
76
import { storage } from '../../common/storage.js';
87
import { session } from '../../common/session.js';
98
import { request, HTTP_GET, HTTP_POST, HTTP_DELETE, HTTP_PUT } from '../../connection/request.js';

0 commit comments

Comments
 (0)