Update various dependencies and refactor filename
The commit incorporates several updates to the dependencies in 'pnpm-lock.yaml', including 'autoprefixer', '@babel/types', and '@react-email/components'. Alongside these changes, the filename 'I18nProvider.tsx' in 'packages/i18n/package.json' has been refactored to 'i18n-provider.tsx' for better readability and naming convention consistency.
This commit is contained in:
@@ -77,7 +77,7 @@ async function loadAccountData(accountId: string) {
|
||||
|
||||
const subscription = client
|
||||
.from('subscriptions')
|
||||
.select<string, Database['public']['Tables']['subscriptions']['Row']>('*')
|
||||
.select('*')
|
||||
.eq('account_id', accountId)
|
||||
.maybeSingle()
|
||||
.then(({ data }) => data);
|
||||
@@ -86,7 +86,8 @@ async function loadAccountData(accountId: string) {
|
||||
.from('billing_customers')
|
||||
.select('customer_id')
|
||||
.eq('account_id', accountId)
|
||||
.maybeSingle();
|
||||
.maybeSingle()
|
||||
.then(({ data }) => data?.customer_id);
|
||||
|
||||
return Promise.all([subscription, customerId]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user