Skip to content

Commit

Permalink
remaining lints
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingjam committed Sep 30, 2024
1 parent 1b405f9 commit 9e8b5b0
Show file tree
Hide file tree
Showing 7 changed files with 273 additions and 278 deletions.
2 changes: 1 addition & 1 deletion app/_components/ProgressBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interface ProgressBarProps {
currentState: {
currentStep: 'deployment' | 'fields' | 'deposit' | 'review' | 'done';
currentStep: string;
};
}

Expand Down
2 changes: 1 addition & 1 deletion app/_components/SubmissionModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export const SubmissionModal = ({
<div className="flex flex-col items-start transition-opacity duration-1500 animate-fade-in gap-y-4">
<DialogTitle className="w-full font-light text-2xl">Your strategy is live!</DialogTitle>
<div>
It will continue to trade until removed. If you're interested in creating your own
It will continue to trade until removed. If you are interested in creating your own
strategies from scratch, try <a href="https://docs.rainlang.xyz"> Raindex.</a>
</div>
<Button
Expand Down
10 changes: 8 additions & 2 deletions app/_components/TokenAndBalance.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import { formatUnits } from 'viem';
import { WithdrawalModal } from './WithdrawalModal';
import { Input } from '../types';
import { Input, Output } from '../types';

export function TokenAndBalance({ input, withdraw }: { input: Input; withdraw?: boolean }) {
export function TokenAndBalance({
input,
withdraw
}: {
input: Input | Output;
withdraw?: boolean;
}) {
return (
<div className="flex border rounded-xl p-2 gap-x-3 items-center justify-between">
<div className="flex flex-col gap-y-1">
Expand Down
Loading

0 comments on commit 9e8b5b0

Please sign in to comment.