style: auto-fix linting issues

This commit is contained in:
edideaur 2026-03-06 08:57:13 +00:00 committed by github-actions[bot]
parent c986921505
commit f6bc60bd5e
5 changed files with 25 additions and 28 deletions

View file

@ -2332,7 +2332,7 @@
</div>
</div>
<div id="home-view-explore" class="home-view" style="display: none;">
<div id="home-view-explore" class="home-view" style="display: none">
<div id="explore-content">
<div class="card-grid" id="explore-grid"></div>
</div>

View file

@ -84,10 +84,7 @@ export class AuthManager {
async sendPasswordReset(email) {
try {
await auth.createRecovery(
email,
window.location.origin + '/reset-password.html'
);
await auth.createRecovery(email, window.location.origin + '/reset-password.html');
alert(`Password reset email sent to ${email}`);
} catch (error) {
console.error('Password reset failed:', error);

View file

@ -1,12 +1,14 @@
// js/accounts/config.js
import { Client, Account } from 'appwrite';
const client = new Client()
.setEndpoint('https://auth.samidy.xyz/v1')
.setProject('auth-for-monochrome');
const client = new Client().setEndpoint('https://auth.samidy.xyz/v1').setProject('auth-for-monochrome');
const account = new Account(client);
export { client, account as auth };
export const saveFirebaseConfig = () => { console.log("ill fix this tomorrow"); };
export const clearFirebaseConfig = () => { console.log("ill fix this tomorrow"); };
export const saveFirebaseConfig = () => {
console.log('ill fix this tomorrow');
};
export const clearFirebaseConfig = () => {
console.log('ill fix this tomorrow');
};

View file

@ -1768,15 +1768,13 @@ export class UIRenderer {
const genresGrid = document.createElement('div');
genresGrid.className = 'card-grid';
genresGrid.innerHTML = GENRES
.map(
genresGrid.innerHTML = GENRES.map(
(genre) => `
<div class="card genre-card" data-genre-id="${genre.id}" data-genre-name="${escapeHtml(genre.name)}" style="cursor: pointer; background: var(--secondary); padding: 1.5rem; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 100px; border-radius: var(--radius); border: 1px solid var(--border);">
<h3 style="margin: 0; font-size: 1.1rem; font-weight: 600;">${escapeHtml(genre.name)}</h3>
</div>
`
)
.join('');
).join('');
genresSection.appendChild(genresGrid);
container.appendChild(genresSection);

View file

@ -114,9 +114,9 @@ export class KawarpPreset {
// Cache buster forces a fresh CORS request, bypassing the browser's
// cached non-CORS response from the <img> tag (same pattern as ui.js)
const sep = url.includes('?') ? '&' : '?';
this.kawarp.loadImage(`${url}${sep}not-from-cache-please`).catch((err) =>
console.warn('[Kawarp] Failed to load cover:', err),
);
this.kawarp
.loadImage(`${url}${sep}not-from-cache-please`)
.catch((err) => console.warn('[Kawarp] Failed to load cover:', err));
}
resize(_w, _h) {