Fix Build Error

This commit is contained in:
seunghyunOh
2022-12-11 15:51:29 +09:00
parent c4b4829694
commit 2b6e69ce1b
3 changed files with 16 additions and 4 deletions
+3 -1
View File
@@ -2,6 +2,8 @@ import React from 'react';
import StripeRedirect from '~/pages/api/organization/StripeRedirect';
import { tempLocalStorage } from '../utilities/checks/tempLocalStorage';
interface Props {
plan: {
name: string;
@@ -66,7 +68,7 @@ export default function Plan({ plan }: Props) {
<button
onClick={() =>
StripeRedirect({
orgId: localStorage.getItem('orgData.id')
orgId: tempLocalStorage('orgData.id')
})
}
>