Skip to content

Commit

Permalink
return value
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaElattar committed Dec 26, 2023
1 parent e8348c5 commit 257a20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playground/src/utils/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit 257a20d

Please sign in to comment.