fix: realized and unrealized report.

This commit is contained in:
a.bouhuolia
2022-02-13 15:12:50 +02:00
parent dd7516f6b2
commit 9463d8dc1c
2 changed files with 0 additions and 16 deletions

View File

@@ -1,11 +1,9 @@
import React from 'react';
import { FinancialStatement } from 'components';
import DashboardPageContent from 'components/Dashboard/DashboardPageContent';
import RealizedGainOrLossHeader from './RealizedGainOrLossHeader';
import RealizedGainOrLossTable from './RealizedGainOrLossTable';
import RealizedGainOrLossActionsBar from './RealizedGainOrLossActionsBar';
import withCurrentOrganization from '../../Organization/withCurrentOrganization';
@@ -28,9 +26,6 @@ function RealizedGainOrLoss({
// Handle refetch realized Gain or Loss after filter change.
const handleFilterSubmit = (filter) => {};
// Handle format number submit.
const handleNumberFormatSubmit = (values) => {};
React.useEffect(
() => () => {
toggleRealizedGainOrLossFilterDrawer(false);
@@ -49,10 +44,6 @@ function RealizedGainOrLoss({
onSubmitFilter={handleFilterSubmit}
/>
<RealizedGainOrLossLoadingBar />
<div className="financial-statement__body">
<RealizedGainOrLossTable companyName={organizationName} />
</div>
</FinancialStatement>
</DashboardPageContent>
</RealizedGainOrLossProvider>

View File

@@ -4,7 +4,6 @@ import { FinancialStatement } from 'components';
import DashboardPageContent from 'components/Dashboard/DashboardPageContent';
import UnrealizedGainOrLossHeader from './UnrealizedGainOrLossHeader';
import UnrealizedGainOrLossTable from './UnrealizedGainOrLossTable';
import UnrealizedGainOrLossActionsBar from './UnrealizedGainOrLossActionsBar';
import withCurrentOrganization from '../../Organization/withCurrentOrganization';
@@ -27,9 +26,6 @@ function UnrealizedGainOrLoss({
// Handle refetch unrealized Gain or Loss after filter change.
const handleFilterSubmit = (filter) => {};
// Handle format number submit.
const handleNumberFormatSubmit = (values) => {};
React.useEffect(
() => () => {
toggleUnrealizedGainOrLossFilterDrawer(false);
@@ -48,9 +44,6 @@ function UnrealizedGainOrLoss({
/>
<UnrealizedGainOrLossLoadingBar />
<div className="financial-statement__body">
<UnrealizedGainOrLossTable companyName={organizationName} />
</div>
</FinancialStatement>
</DashboardPageContent>
</UnrealizedGainOrLossProvider>