Skip to content
2 changes: 1 addition & 1 deletion app/components/UI/Perps/contexts/PerpsOrderContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const PerpsOrderProvider = ({
initialAsset,
initialDirection,
initialAmount,
initialLeverage,
initialLeverage: initialLeverage ?? existingPosition?.leverage?.value,
initialType,
});

Expand Down
1 change: 0 additions & 1 deletion app/components/UI/Predict/hooks/usePredictActivity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export function usePredictActivity(
setIsRefreshing(true);
} else {
setIsLoading(true);
setActivity([]);
}
setError(null);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ const PredictMarketDetails: React.FC<PredictMarketDetailsProps> = () => {
const renderActionButtons = () => (
<>
{(() => {
if (market?.status === PredictMarketStatus.CLOSED && hasPositivePnl) {
if (!isClaimablePositionsLoading && hasPositivePnl) {
return (
<ButtonHero
size={ButtonSizeHero.Lg}
Expand Down
Loading
Loading