Skip to content

Commit

Permalink
fix: unused theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Jan 26, 2025
1 parent 712bb5e commit 2de5a09
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions js/app/component/card.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { util } from '../../common/util.js';
import { theme } from '../../common/theme.js';
import { storage } from '../../common/storage.js';
import { session } from '../../common/session.js';

Expand Down Expand Up @@ -125,7 +124,6 @@ export const card = (() => {
};

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

Expand Down
1 change: 0 additions & 1 deletion js/app/component/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { like } from './like.js';
import { util } from '../../common/util.js';
import { pagination } from './pagination.js';
import { dto } from '../../connection/dto.js';
import { theme } from '../../common/theme.js';
import { storage } from '../../common/storage.js';
import { session } from '../../common/session.js';
import { request, HTTP_GET, HTTP_POST, HTTP_DELETE, HTTP_PUT } from '../../connection/request.js';
Expand Down

0 comments on commit 2de5a09

Please sign in to comment.