fix glitch on apiKey page
This commit is contained in:
parent
6c03edc50a
commit
d1ffe5ab11
1 changed files with 1 additions and 5 deletions
|
|
@ -29,9 +29,7 @@ export default function ApiKeysPage() {
|
|||
const keysList = useRef([]);
|
||||
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
getKeys();
|
||||
}, 500);
|
||||
}, [userData]);
|
||||
|
||||
function getKeys() {
|
||||
|
|
@ -231,9 +229,7 @@ export default function ApiKeysPage() {
|
|||
confirmationText="Create secret key"
|
||||
icon={"Key"}
|
||||
data={userId}
|
||||
onCloseModal={() => {
|
||||
getKeys();
|
||||
}}
|
||||
onCloseModal={getKeys}
|
||||
>
|
||||
<Button>
|
||||
<IconComponent name="Plus" className="mr-1 h-5 w-5" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue