mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-06 14:22:15 +00:00
chore(console): remove all console eslint warnings (#11853)
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. It is important that the commit history clearly shows what is changed and why. Important: By submitting a contribution you agree to the terms from our Licensing Policy as described here: https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions. --> # Which Problems Are Solved When running the nx target @zitadel/console:lint-check-ng currently there are a lot of eslint warnings. # How the Problems Are Solved Removed unused variables, imports etc. # Additional Changes # Additional Context
This commit is contained in:
@@ -10,7 +10,7 @@ export function formatPhone(phone?: string): { phone: string; country: CountryCo
|
||||
if (phoneNumber) {
|
||||
return { phone: phoneNumber.formatInternational(), country };
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,23 +2,23 @@ import { OnboardingActions } from '../services/admin.service';
|
||||
import { COLORS } from './color';
|
||||
import { MilestoneType } from '../proto/generated/zitadel/milestone/v1/milestone_pb';
|
||||
|
||||
const reddark: string = COLORS[0][700];
|
||||
const redlight = COLORS[0][200];
|
||||
// const reddark: string = COLORS[0][700];
|
||||
// const redlight = COLORS[0][200];
|
||||
|
||||
const yellowdark: string = COLORS[3][700];
|
||||
const yellowlight = COLORS[3][200];
|
||||
// const yellowdark: string = COLORS[3][700];
|
||||
// const yellowlight = COLORS[3][200];
|
||||
|
||||
const greendark: string = COLORS[6][700];
|
||||
const greenlight = COLORS[6][200];
|
||||
|
||||
const bluedark: string = COLORS[9][700];
|
||||
const bluelight = COLORS[9][200];
|
||||
// const bluedark: string = COLORS[9][700];
|
||||
// const bluelight = COLORS[9][200];
|
||||
|
||||
const purpledark: string = COLORS[12][700];
|
||||
const purplelight = COLORS[12][200];
|
||||
|
||||
const pinkdark: string = COLORS[15][700];
|
||||
const pinklight = COLORS[15][200];
|
||||
// const pinkdark: string = COLORS[15][700];
|
||||
// const pinklight = COLORS[15][200];
|
||||
|
||||
const sthdark: string = COLORS[18][700];
|
||||
const sthlight = COLORS[18][200];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { combineLatestWith, distinctUntilChanged, Observable, ObservableInput, ObservableInputTuple } from 'rxjs';
|
||||
import { combineLatestWith, distinctUntilChanged, Observable, ObservableInputTuple } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
|
||||
// withLatestFrom does not work in this case, so we use
|
||||
|
||||
Reference in New Issue
Block a user