From 09264720d11655fdcef626a6047af9d2017215b3 Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Fri, 16 Jun 2023 21:05:36 +0200 Subject: [PATCH] =?UTF-8?q?Oprava=20p=C5=99eklepu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {