Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right Caret Added in Start Scheduler Button #783

Merged
merged 7 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Attempt #1:Scheduler"
This reverts commit fadc2ff.
  • Loading branch information
0xSaksham committed Jul 2, 2024
commit 316dca1498adf3b84bf2efb30ced01adb1cba75d
1 change: 0 additions & 1 deletion src/components/Jam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ export default function Jam({ wallet }: JamProps) {
>
<div className="d-flex justify-content-center align-items-center">
{t('scheduler.button_start')}
<Sprite symbol="caret-right" width="24" height="24" className="ms-1" />
</div>
</rb.Button>
</rb.Form>
Expand Down
12 changes: 1 addition & 11 deletions src/components/ScheduleProgress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,7 @@ import { Trans, useTranslation } from 'react-i18next'
import styles from './ScheduleProgress.module.css'
import { Schedule } from '../context/ServiceInfoContext'

interface Txstep {
width: number
}

interface Steps {
totalWaitTime: number
completedTxs: number
txs: Txstep[]
}

const scheduleToSteps = (schedule: Schedule): Steps => {
const scheduleToSteps = (schedule: Schedule) => {
// Example Schedule:
//
// schedule = [
Expand Down