Skip to content

Commit

Permalink
Move footer buttons to dedicated folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeorge committed Feb 21, 2024
1 parent fc8629c commit 5424b82
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import React, { useCallback, useEffect, useRef, useState } from 'react';
import T from 'prop-types';
import { Button } from '@devseed-ui/button';
import styled from 'styled-components';
import { Spinner } from '../../common/global-loading/styles';
import { ProjectMachineContext } from '../../../fsm/project';
import { useAuth } from '../../../context/auth';
import logger from '../../../utils/logger';
import { Spinner } from '../../../common/global-loading/styles';
import { ProjectMachineContext } from '../../../../fsm/project';
import { useAuth } from '../../../../context/auth';
import logger from '../../../../utils/logger';

import { Modal } from '@devseed-ui/modal';
import { formatDateTime, formatThousands } from '../../../utils/format';
import { formatDateTime, formatThousands } from '../../../../utils/format';
import tArea from '@turf/area';
import Prose from '../../../styles/type/prose';
import DetailsList from '../../common/details-list';
import { AbortBatchJobButton } from '../../common/abort-batch-button';
import { StyledTooltip } from '../../common/tooltip';
import Prose from '../../../../styles/type/prose';
import DetailsList from '../../../common/details-list';
import { AbortBatchJobButton } from '../../../common/abort-batch-button';
import { StyledTooltip } from '../../../common/tooltip';
import get from 'lodash.get';
import selectors from '../../../fsm/project/selectors';
import selectors from '../../../../fsm/project/selectors';

const ProgressButtonWrapper = styled.div`
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import InfoButton from '../../common/info-button';
import { ProjectMachineContext } from '../../../fsm/project';
import selectors from '../../../fsm/project/selectors';
import { SESSION_MODES } from '../../../fsm/project/constants';
import * as guards from '../../../fsm/project/guards';
import InfoButton from '../../../common/info-button';
import { ProjectMachineContext } from '../../../../fsm/project';
import selectors from '../../../../fsm/project/selectors';
import { SESSION_MODES } from '../../../../fsm/project/constants';
import * as guards from '../../../../fsm/project/guards';

export function PrimeButton() {
const actorRef = ProjectMachineContext.useActorRef();
Expand Down
4 changes: 2 additions & 2 deletions app/assets/scripts/components/project/prime-panel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import TabbedBlock from '../../common/tabbed-block-body';
import PredictTab from './tabs/predict';
import RetrainTab from './tabs/retrain';
import { UploadAoiModal } from './upload-aoi-modal';
import { PrimeButton } from './prime-button';
import { BatchPredictionPanel } from './batch-prediction-panel';
import { PrimeButton } from './footer/prime-button';
import { BatchPredictionPanel } from './footer/batch-prediction-panel';
import { ProjectMachineContext } from '../../../fsm/project';
import { SESSION_MODES } from '../../../fsm/project/constants';
import selectors from '../../../fsm/project/selectors';
Expand Down

0 comments on commit 5424b82

Please sign in to comment.