mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-26 09:20:06 +02:00
fix: duplicate state effect on add button
This commit is contained in:
parent
f0d1d72384
commit
d7213770c2
|
@ -95,8 +95,6 @@ export default function RepoList() {
|
|||
|
||||
//BUTTON : Display RepoManage component box for ADD
|
||||
const manageRepoAddHandler = () => {
|
||||
setDisplayRepoAdd(!displayRepoAdd);
|
||||
//Redirect url to HOME when cross is clicked.
|
||||
router.replace('/manage-repo/add');
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue