Deduplikace typů a sloučení kontejnerů
- Zavedení yarn workspaces - Sloučení klienta a serveru do jednoho Docker kontejneru - Společný dockerfile, builder - Zbavení se nginx (není již potřeba)
This commit is contained in:
@@ -19,7 +19,7 @@ export default function Header() {
|
||||
setModalOpen(false);
|
||||
}
|
||||
|
||||
const isValidInteger = (str) => {
|
||||
const isValidInteger = (str: string) => {
|
||||
str = str.trim();
|
||||
if (!str) {
|
||||
return false;
|
||||
@@ -66,7 +66,7 @@ export default function Header() {
|
||||
if (sum % 11 !== 0) {
|
||||
throw Error("Číslo účtu je neplatné")
|
||||
}
|
||||
} catch (e) {
|
||||
} catch (e: any) {
|
||||
alert(e.message)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user