Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix serve error #8749

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/core/src/Stores/traders-hub-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ export default class TradersHubStore extends BaseStore {
no_MF_account: computed,
multipliers_account_status: computed,
CFDs_restricted_countries: computed,
openRealWalletsUpgrade: action.bound,
closeRealWalletsUpgrade: action.bound,
financial_restricted_countries: computed,
openDemoCFDAccount: action.bound,
openModal: action.bound,
Expand Down
4 changes: 2 additions & 2 deletions packages/hooks/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export { default as useAccountTransferVisible } from './useAccountTransferVisible';
export { default as useCfdAccounts } from './useCfdAccounts';
export { default as useCashierLocked } from './useCashierLocked';
export { default as useCFDAccounts } from './useCFDAccounts';
Copy link
Contributor

Choose a reason for hiding this comment

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

@hamid-deriv packages/hooks/src/useCfdAccounts.ts is wrong, Better to reset with mster

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@farzin-deriv I didn't get your comment, it's useCFDAccounts now. Is that wrong?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There were two files with the same name but a different type of case!

export { default as useCFDAllAccounts } from './useCFDAllAccounts';
export { default as useCFDDemoAccounts } from './useCFDDemoAccounts';
export { default as useCFDRealAccounts } from './useCFDRealAccounts';
export { default as useCashierLocked } from './useCashierLocked';
export { default as useCountdown } from './useCountdown';
export { default as useCurrentAccountDetails } from './useCurrentAccountDetails';
export { default as useDepositLocked } from './useDepositLocked';
Expand Down
22 changes: 0 additions & 22 deletions packages/hooks/src/useCfdAccounts.ts

This file was deleted.