Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
dasuni-30 committed Jun 5, 2024
1 parent fd16f5d commit 02a0a2a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Copyright (c) 2021-2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
groupList?.length * WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -170,7 +170,7 @@ export const GroupList: React.FunctionComponent<GroupListProps> = (props: GroupL
);
}

if (groupList?.length === 0) {
if (groupList?.length !== 0) {
return (
<>
<Show
Expand Down

0 comments on commit 02a0a2a

Please sign in to comment.