Removed undefined

Signed-off-by: Gaurav Pandey <36168816+grvpandey11@users.noreply.github.com>
This commit is contained in:
Gaurav Pandey
2023-07-21 17:07:23 +02:00
committed by GitHub
parent a3659dae6d
commit fd534808b9
@@ -22,7 +22,7 @@ import goodEvening from './locales/goodEvening.locales.json';
// every time the user navigates.
const greetingRandomSeed = Math.floor(Math.random() * 1000000);
export function getTimeBasedGreeting(language?: string[] | undefined): {
export function getTimeBasedGreeting(language?: string[]): {
language: string;
greeting: string;
} {