Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

[Back] AppName - [Front] AdminProductPhotoAction | usePhotoList #110

Merged
merged 4 commits into from
Feb 26, 2024
Merged

Conversation

Aloento
Copy link
Owner

@Aloento Aloento commented Feb 26, 2024

No description provided.

This commit includes several updates across multiple files. In `index.tsx`, unused import statements were removed and new ones were added. The `AdminProductPhotoEdit` component was replaced with `AdminProductPhotoAction` and the `columns` constant was updated accordingly. The `AdminProductPhoto` function was updated to use the `Hub.Product.Get.usePhotoList` hook and the `list` prop was updated. In `Carousel.tsx`, the import statements and `ProductCarousel` function were updated to use the `useAsyncEffect` hook. The `AdminProductDelete` and `AdminProductPost` classes in `Delete.ts` and `Post.ts` respectively, were updated to remove the call to `ProductGet.PhotoListUpdate`. The `ProductGet` class in `Get.ts` was updated to add the `usePhotoList` hook and remove the `PhotoListUpdate` method. A new `AdminProductPhotoAction` component was added in `Action.tsx` which includes the `AdminProductPhotoEdit` component and two `Button` components.
@Aloento Aloento self-assigned this Feb 26, 2024
@Aloento Aloento merged commit 1ea80c5 into master Feb 26, 2024
1 check passed
@Aloento Aloento deleted the Dev branch February 26, 2024 23:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant