Skip to content

Commit

Permalink
Fix build errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
bLopata committed Oct 25, 2024
1 parent 0a3cc80 commit faae59b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions www/app/settings/SettingsLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { IntegrationsSettings } from '@/components/settings/IntegrationsSettings
import { SecuritySettings } from '@/components/settings/SecuritySettings';
import { AccountSettings } from '@/components/settings/AccountSettings';
import { SupportSettings } from '@/components/settings/SupportSettings';
import { User } from '@supabase/supabase-js';
import { Subscription, User } from '@supabase/supabase-js';

interface SettingsProps {
user: User | null;
subscription?: unknown | null; // Change this to the correct type when available
subscription?: Subscription | null; // Change this to the correct type when available
products?: unknown[] | null; // Change this to the correct type when available
}

Expand Down
2 changes: 1 addition & 1 deletion www/components/settings/SubscriptionSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { createStripePortal } from '@/utils/stripe/actions';
import { Tables } from '@/utils/database.types';

import PriceCard from '@/components/PriceCard';
type Subscription = Tables<'subscriptions'>;
import { Subscription } from '@supabase/supabase-js';
type Price = Tables<'prices'>;

interface Props {
Expand Down

0 comments on commit faae59b

Please sign in to comment.