Skip to content

Commit

Permalink
fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
aforaleka committed Sep 23, 2024
1 parent 82d60b6 commit 6573bd0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/views/tables/PositionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { PositionSide } from '@/constants/trade';

import { MediaQueryKeys } from '@/hooks/useBreakpoints';
import { useEnvFeatures } from '@/hooks/useEnvFeatures';
import { useShouldShowTriggers } from '@/hooks/useShouldShowTriggers';
import { useStringGetter } from '@/hooks/useStringGetter';

import { tradeViewMixins } from '@/styles/tradeViewMixins';
Expand Down Expand Up @@ -420,7 +419,6 @@ export const PositionsTable = ({
const isAccountViewOnly = useAppSelector(calculateIsAccountViewOnly);
const perpetualMarkets = orEmptyRecord(useAppSelector(getPerpetualMarkets, shallowEqual));
const assets = orEmptyRecord(useAppSelector(getAssets, shallowEqual));
const shouldRenderTriggers = useShouldShowTriggers();

const openPositions = useAppSelector(getExistingOpenPositions, shallowEqual) ?? EMPTY_ARR;
const positions = useMemo(() => {
Expand Down Expand Up @@ -486,7 +484,6 @@ export const PositionsTable = ({
width: columnWidths?.[key],
isAccountViewOnly,
showClosePositionAction,
shouldRenderTriggers,
navigateToOrders,
isSinglePosition: positionsData.length === 1,
})
Expand Down

0 comments on commit 6573bd0

Please sign in to comment.