fix: named exports

This commit is contained in:
Mythie
2023-10-13 23:56:11 +11:00
parent 17b43caa5c
commit 95a60331f8
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import { useToast } from '@documenso/ui/primitives/use-toast';
import { createBillingPortal } from './create-billing-portal.action';
export default function BillingPortalButton() {
export const BillingPortalButton = () => {
const { toast } = useToast();
const [isFetchingPortalUrl, setIsFetchingPortalUrl] = useState(false);
@ -52,4 +52,4 @@ export default function BillingPortalButton() {
Manage Subscription
</Button>
);
}
};