mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
chore: enable no-undef-init lint rule
This commit is contained in:
parent
9f090da01f
commit
73083424cf
3 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ import React from 'react';
|
|||
import globalize from 'scripts/globalize';
|
||||
|
||||
const LogLevelChip = ({ level }: { level: LogLevel }) => {
|
||||
let color: 'info' | 'warning' | 'error' | undefined = undefined;
|
||||
let color: 'info' | 'warning' | 'error' | undefined;
|
||||
switch (level) {
|
||||
case LogLevel.Information:
|
||||
color = 'info';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue