Remove billing and checkout redirect buttons and related services
Deleted the billing-redirect-button, checkout-redirect-button, and embedded-stripe-checkout components. Additionally, removed the shadcn directory, which encompassed billing-related icons. This change streamlines the subscription settings interface and organizes the system's payment management. This update is a stepping stone towards improving the billing system's overall architecture.
This commit is contained in:
@@ -15,9 +15,6 @@
|
||||
"./cookie": "./src/get-language-cookie.ts",
|
||||
"./provider": "./src/I18nProvider.tsx"
|
||||
},
|
||||
"dependencies": {
|
||||
"@kit/shared": "^0.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/prettier-config": "0.1.0",
|
||||
"@kit/eslint-config": "0.2.0",
|
||||
@@ -29,7 +26,8 @@
|
||||
"react-i18next": "^14.1.0",
|
||||
"i18next-browser-languagedetector": "7.2.0",
|
||||
"i18next-resources-to-backend": "^1.2.0",
|
||||
"next": "^14.1.4"
|
||||
"next": "^14.1.4",
|
||||
"@kit/shared": "^0.1.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -35,7 +35,6 @@ async function withI18nClient(lang: string, resolver: Resolver) {
|
||||
}
|
||||
|
||||
async function loadClientI18n(lang: string | undefined, resolver: Resolver) {
|
||||
// TODO: pull cookie client-side
|
||||
const { initializeI18nClient } = await import('./i18n.client');
|
||||
|
||||
return initializeI18nClient(lang, resolver);
|
||||
|
||||
@@ -23,7 +23,7 @@ export function initializeI18nClient(
|
||||
.use(
|
||||
resourcesToBackend(async (language, namespace, callback) => {
|
||||
const data = await i18nResolver(language, namespace);
|
||||
|
||||
console.log(data);
|
||||
return callback(null, data);
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user