mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 02:40:39 +09:00
Use asset-backed company logos
This commit is contained in:
parent
1a5eaba622
commit
e538329b0a
17 changed files with 307 additions and 57 deletions
|
|
@ -28,7 +28,6 @@ interface CompanyContextValue {
|
|||
name: string;
|
||||
description?: string | null;
|
||||
budgetMonthlyCents?: number;
|
||||
logoUrl?: string | null;
|
||||
}) => Promise<Company>;
|
||||
}
|
||||
|
||||
|
|
@ -90,7 +89,6 @@ export function CompanyProvider({ children }: { children: ReactNode }) {
|
|||
name: string;
|
||||
description?: string | null;
|
||||
budgetMonthlyCents?: number;
|
||||
logoUrl?: string | null;
|
||||
}) =>
|
||||
companiesApi.create(data),
|
||||
onSuccess: (company) => {
|
||||
|
|
@ -104,7 +102,6 @@ export function CompanyProvider({ children }: { children: ReactNode }) {
|
|||
name: string;
|
||||
description?: string | null;
|
||||
budgetMonthlyCents?: number;
|
||||
logoUrl?: string | null;
|
||||
}) => {
|
||||
return createMutation.mutateAsync(data);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue