Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Conversation

@utkarsha-deriv
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Jun 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
deriv-api-docs ✅ Ready (Inspect) Visit Preview Jul 24, 2023 6:31am

@codecov
Copy link

codecov bot commented Jun 14, 2023

Codecov Report

Merging #187 (39ac8e4) into master (9dd089d) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #187      +/-   ##
==========================================
+ Coverage   96.95%   96.98%   +0.02%     
==========================================
  Files         108      109       +1     
  Lines        1543     1558      +15     
  Branches      196      198       +2     
==========================================
+ Hits         1496     1511      +15     
  Misses          5        5              
  Partials       42       42              
Impacted Files Coverage Δ
...components/ApiTokenForm/CreateTokenField/index.tsx 100.00% <100.00%> (ø)
...shboard/components/ApiTokenForm/api-token.form.tsx 100.00% <100.00%> (ø)
...nents/Dialogs/TokenCreationDialogSuccess/index.tsx 100.00% <100.00%> (ø)

…om:utkarsha-deriv/deriv-api-docs into utkarsha/display-popup-upon-token-creation

update branch
mohsen-deriv
mohsen-deriv previously approved these changes Jun 16, 2023
matin-deriv
matin-deriv previously approved these changes Jun 21, 2023
Copy link
Contributor

@hubert-deriv hubert-deriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve the conflicts so that I can merge

mohsen-deriv
mohsen-deriv previously approved these changes Jul 3, 2023
sanjam-deriv
sanjam-deriv previously approved these changes Jul 4, 2023
@@ -1,5 +1,5 @@
import React from 'react';
import { cleanup, render, screen, within } from '@site/src/test-utils';
import { cleanup, fireEvent, render, screen, within } from '@site/src/test-utils';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we are not using fireEvent right? I think we can remove this import then.

});
createToken(name, selectedTokenScope);
setFormIsCleared(true);
setToggleModal(!is_toggle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think setToggleModal(prev => !prev) is a nicer way of handling it. If setting your state is dependent on your previous state, you should use this prev (or prevState) method.

hubert-deriv
hubert-deriv previously approved these changes Jul 20, 2023
matin-deriv
matin-deriv previously approved these changes Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants