diff --git a/client/src/components/Header.tsx b/client/src/components/Header.tsx index 168f83f..caa361c 100644 --- a/client/src/components/Header.tsx +++ b/client/src/components/Header.tsx @@ -63,7 +63,7 @@ export default function Header() { const weight = (2 ** order) % 11; sum += Number.parseInt(char) * weight } - if (sum % 11 != 0) { + if (sum % 11 !== 0) { throw Error("Číslo účtu je neplatné") } } catch (e) {