Fix warnings.

This commit is contained in:
codevictory
2022-01-12 19:03:23 +02:00
parent c897fd847f
commit f0b65adb16
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ export const Confirmation = () => {
const setlang = useSetRecoilState(currentLanguage); const setlang = useSetRecoilState(currentLanguage);
const lang = getLangFromSearch(search); const lang = getLangFromSearch(search);
if (lang != '') setlang(lang); if (lang !== '') setlang(lang);
return ( return (
<div className='Confirmation'> <div className='Confirmation'>

View File

@@ -23,7 +23,7 @@ export const Main = () => {
const setlang = useSetRecoilState(currentLanguage); const setlang = useSetRecoilState(currentLanguage);
const lang = getLangFromSearch(search); const lang = getLangFromSearch(search);
if (lang != '') setlang(lang); if (lang !== '') setlang(lang);
return ( return (
<div className='Main'> <div className='Main'>

View File

@@ -14,7 +14,7 @@ export const Registration = () => {
const setlang = useSetRecoilState(currentLanguage); const setlang = useSetRecoilState(currentLanguage);
const lang = getLangFromSearch(search); const lang = getLangFromSearch(search);
if (lang != '') setlang(lang); if (lang !== '') setlang(lang);
return ( return (
<> <>