Skip to content

Commit

Permalink
fix(provider): removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-arc10 committed Dec 16, 2024
1 parent 2d8d15b commit 12bf94e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ const providerPricingSchema = z.object({
type ProviderPricingValues = z.infer<typeof providerPricingSchema>;

export const ProviderPricing: React.FC<ProviderPricingProps> = ({ onComplete, editMode = false, existingPricing, disabled = false, providerDetails }) => {
console.log(existingPricing)
const [providerProcess, setProviderProcess] = useAtom(providerProcessStore.providerProcessAtom);
const { activeControlMachine } = useControlMachine();
const [showSuccess, setShowSuccess] = React.useState(false);
Expand Down
9 changes: 1 addition & 8 deletions apps/provider-console/src/pages/become-provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,8 @@ const BecomeProvider: React.FC = () => {
}, [activeStep, providerSteps, setProviderProcess]);

const CurrentStepComponent = useMemo(() => {
// if (activeStep >= providerSteps.length) {
// return () => (
// <div className="mt-4">
// <ProviderActionDetails actionId={providerProcess.actionId} />
// </div>
// );
// }
return providerSteps[activeStep].component;
}, [activeStep, providerSteps, providerProcess.actionId]);
}, [activeStep, providerSteps]);

return (
<Layout>
Expand Down

0 comments on commit 12bf94e

Please sign in to comment.