From 257a20d8799bf069f7e0108b6037b938c92c5e1d Mon Sep 17 00:00:00 2001 From: AlaaElattar Date: Tue, 26 Dec 2023 11:33:05 +0200 Subject: [PATCH] return value --- packages/playground/src/utils/validators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playground/src/utils/validators.ts b/packages/playground/src/utils/validators.ts index 730aa3dae5..d86819fa2f 100644 --- a/packages/playground/src/utils/validators.ts +++ b/packages/playground/src/utils/validators.ts @@ -706,7 +706,7 @@ export function isString(msg: string) { } export function ipNotEqualGateway(ip: string, gw: string, msg: string) { - return () => { + return (value: string) => { const address = ip.split("/")[0]; if (gw === address) { return { message: msg, isNotEqualStrings: true };