fix typescript error in Recorder.tsx
This commit is contained in:
parent
ed7bfc57c0
commit
c980d4e784
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ export default function Recorder({ closeModal, step, setStep }: Props) {
|
||||||
) {
|
) {
|
||||||
posthog?.capture("recorder: video upload paywall hit");
|
posthog?.capture("recorder: video upload paywall hit");
|
||||||
setPaywallOpen(true);
|
setPaywallOpen(true);
|
||||||
} else if (err.data.code === "UNAUTHORIZED") {
|
} else if (err.message === "UNAUTHORIZED") {
|
||||||
window.open(
|
window.open(
|
||||||
`/sign-in?redirect=${encodeURIComponent("/window-close")}`,
|
`/sign-in?redirect=${encodeURIComponent("/window-close")}`,
|
||||||
"Sign In",
|
"Sign In",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue