fix(storefront): rename useBrands to useFeedbacks for correct composable naming
Aligned composable name with its purpose by renaming `useBrands` to `useFeedbacks`. This resolves the naming inconsistency and improves code readability and maintainability.
This commit is contained in:
parent
03dbafaf44
commit
398e11d748
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ interface IFeedbackVars {
|
||||||
userUuid?: string;
|
userUuid?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function useBrands(args: IFeedbackArgs = {}) {
|
export function useFeedbacks(args: IFeedbackArgs = {}) {
|
||||||
const variables = reactive<IFeedbackVars>({
|
const variables = reactive<IFeedbackVars>({
|
||||||
feedbackFirst: 3,
|
feedbackFirst: 3,
|
||||||
feedbackAfter: args.feedbackAfter,
|
feedbackAfter: args.feedbackAfter,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue