fix: state reordering (#269)

* fix: state reordering

* refactor: remove unnecessary argument

* refactor: mutation after setting default
This commit is contained in:
Aaryan Khandelwal 2023-02-13 10:30:44 +05:30 committed by GitHub
parent bb4ffec7e8
commit 0a88b3ed84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 53 deletions

View file

@ -115,7 +115,6 @@ const StatesSettings: NextPage<UserAuth> = (props) => {
<SingleState
key={state.id}
index={index}
currentGroup={key}
state={state}
statesList={statesList}
activeGroup={activeGroup}