Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
fix: ts error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
meenu-deriv committed Nov 15, 2023
1 parent 54badc3 commit 7e6501b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 49 deletions.
46 changes: 0 additions & 46 deletions libs/templates/src/lib/home/sections/live-market-section/data.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { LiveMarket } from '@deriv-com/blocks';
import { LivePriceData } from './data';
import { ReactNode, useEffect, useState } from 'react';
import { LiveMarketContent } from '@deriv-com/components';
import {
Expand Down Expand Up @@ -30,8 +29,7 @@ const LiveMarketSection = () => {
if (markets) {
const { fx } = markets;

const newLivePriceData = [...LivePriceData];
console.log('fnewLivePriceDatax', newLivePriceData);
const newLivePriceData: LiveMarketContent[] = [];

Object.keys(fx).forEach((marketKey) => {
const { sym, ask, bid, chng, sprd } = fx[marketKey];
Expand Down

0 comments on commit 7e6501b

Please sign in to comment.