Drop the unused eslint-disable directives. [skip build]
This commit is contained in:
@@ -57,11 +57,9 @@ export const UrlPreviewCard = as<'div', { url: string; ts: number }>(
|
||||
// - Network errors: connectivity issues
|
||||
if (error?.httpStatus === 502 || error?.httpStatus === 503) {
|
||||
// Server's URL preview backend is down - this is a server-side issue
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn('[UrlPreview] Server URL preview service unavailable (502/503):', url);
|
||||
} else if (error?.httpStatus === 404) {
|
||||
// Server doesn't support URL previews
|
||||
// eslint-disable-next-line no-console
|
||||
console.info('[UrlPreview] Server does not support URL previews:', url);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user