Skip to content

Commit

Permalink
refactor: move
Browse files Browse the repository at this point in the history
  • Loading branch information
pbullhove committed Apr 2, 2024
1 parent bd1feaa commit c341a4d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions web/src/Components/Bridging/BridgeContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { AuthContext } from 'react-oauth2-code-pkce'
import { ErrorToast } from '../Common/Toast'
import InputContainer from './InputContainer'
import { findGraphData } from '../../Utils'
import CumulativeGraph from './CumulativeGraph'
import DistributionGraph from './DistributionGraph'
import CumulativeGraph from './Graphs/CumulativeGraph'
import DistributionGraph from './Graphs/DistributionGraph'

export default ({ bridges, mode, setMode, bridgeValue, setValue }) => {
const [sizeFractions, setSizeFractions] = useState([])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useContext, useEffect, useState } from 'react'
import { Area, AreaChart, CartesianGrid, Legend, ResponsiveContainer, Tooltip, XAxis, YAxis } from 'recharts'
import { ParticleSizeContext } from '../../Context'
import { findGraphData } from '../../Utils'
import { graphColors } from './styles'
import { ParticleSizeContext } from '../../../Context'
import { findGraphData } from '../../../Utils'
import { graphColors } from '../styles'

export function BridgeGraph({ graphData, sizeFractions, bridges }) {
const [particleFromPercentage, setParticleFromPercentage] = useState('')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useContext, useEffect, useState } from 'react'
import { ParticleSizeContext } from '../../Context'
import { findGraphData } from '../../Utils'
import { ParticleSizeContext } from '../../../Context'
import { findGraphData } from '../../../Utils'
import BridgeGraph from './BridgeGraph'

export function CumulativeGraph({ bridges, sizeFractions }) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react'
import { findGraphData } from '../../Utils'
import { differentiateArrayObjects } from './utils'
import { findGraphData } from '../../../Utils'
import { differentiateArrayObjects } from '../utils'
import BridgeGraph from './BridgeGraph'

export function ParticleSizeDistributionGraph({ bridges, sizeFractions }) {
Expand Down

0 comments on commit c341a4d

Please sign in to comment.