Skip to content

Commit

Permalink
feat: added fix for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Nov 13, 2023
1 parent e622d86 commit 19d5149
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/frontend-snippet/src/lib/ProviderModal.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import { providersArray } from "../helpers/utils";

// Assuming you have these types defined
type ProviderModalProps = {
isOpen: boolean;
onSelectProvider: (providerName: string) => void;
onClose: () => void;
};


const ProviderModal = ({ isOpen, onSelectProvider, onClose }) => {
const ProviderModal = ({ isOpen, onSelectProvider, onClose }: ProviderModalProps) => {
if (!isOpen) {console.log("null modal"); return null}
const PROVIDERS = providersArray('CRM');
return (
Expand Down

0 comments on commit 19d5149

Please sign in to comment.