Refactor code structure for improved readability and maintainability
This commit is contained in:
1 parent
8b792e1d44
commit
0bea4173f5
18 files changed
+517
-192
No files matched your search
@@ -32,7 +32,7 @@ export const BrandingProvider: React.FC<{ children: React.ReactNode }> = ({ chil
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const data = await cmsApi.getBranding(user.organization_id);
|
||||
const data = await cmsApi.getBranding();
|
||||
// Translate BrandingResponse to Organization shape (partial)
|
||||
const orgData = {
|
||||
id: user.organization_id,
|
||||
|
||||
Reference in new issue
Block a user