Skip to content

Commit 662aa5e

Browse files
committed
show all positions
1 parent 3239e81 commit 662aa5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/Positions.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import { Spinner, UpdatePosition } from '.';
88
import { baseFormatter, usdFormatter } from '~/utils';
99

1010
export const Positions: FC<{ symbol: string }> = ({ symbol }) => {
11-
const [positions, _info, { refresh, loading }] = usePositionStream(symbol);
11+
const [positions, _info, { refresh, isLoading }] = usePositionStream();
1212
const { state } = useAccount();
1313

1414
if (state.status <= AccountStatusEnum.NotSignedIn) {
1515
return;
1616
}
1717

18-
if (!positions.rows || loading) {
18+
if (!positions.rows || isLoading) {
1919
return <Spinner size="2rem" className="m-3" />;
2020
}
2121

0 commit comments

Comments
 (0)