Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Merge branch 'staging' into feat/pay-with-eth
Browse files Browse the repository at this point in the history
  • Loading branch information
intergalacticspacehighway committed Oct 31, 2023
2 parents ac3573d + 8fe33c0 commit 3b94fc8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "showtime",
"version": "149.0.5",
"version": "149.0.6",
"private": true,
"license": "MIT",
"devDependencies": {
Expand Down
9 changes: 6 additions & 3 deletions packages/app/components/profile/complete-profile-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,22 @@ import { Platform } from "react-native";
import { Button, GradientButton } from "@showtime-xyz/universal.button";
import { useRouter } from "@showtime-xyz/universal.router";

import { useRedirectToCreateDrop } from "app/hooks/use-redirect-to-create-drop";
import { useOnboardingPromise } from "app/components/onboarding";
import { useUser } from "app/hooks/use-user";

export const CompleteProfileButton = ({ isSelf }: { isSelf: boolean }) => {
const router = useRouter();
const { isIncompletedProfile } = useUser();
const redirectToCreateDrop = useRedirectToCreateDrop();
const { onboardingPromise } = useOnboardingPromise();

if (!isSelf) return null;
if (isIncompletedProfile) {
return (
<GradientButton
size="small"
onPress={redirectToCreateDrop}
onPress={async () => {
await onboardingPromise();
}}
labelTW={"color-white"}
style={{ height: 28, paddingVertical: 0 }}
gradientProps={{
Expand Down
4 changes: 2 additions & 2 deletions packages/app/hooks/creator-token/use-creator-token-approve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ export const useApproveToken = () => {
return true;
}
}
} else {
return true;
}
} else {
return true;
}
}
);
Expand Down

0 comments on commit 3b94fc8

Please sign in to comment.