fix(lint): fix triple equal strict check

This commit is contained in:
lemmyMwaura
2024-08-01 14:42:15 +03:00
parent afba636850
commit 7467a05fc4
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ export const CreateSecretForm = ({
const pastedContent = e.clipboardData.getData('text');
const splitIndex = pastedContent.indexOf("=");
if (splitIndex == -1) return
if (splitIndex === -1) return
const key = pastedContent.slice(0, splitIndex)
const value = pastedContent.slice(splitIndex + 1);

View File

@@ -141,7 +141,7 @@ export const CreateSecretForm = ({
const pastedContent = e.clipboardData.getData('text');
const splitIndex = pastedContent.indexOf("=");
if (splitIndex == -1) return
if (splitIndex === -1) return
const key = pastedContent.slice(0, splitIndex)
const value = pastedContent.slice(splitIndex + 1);