Skip to content

Commit

Permalink
git workflow install dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mhShohan committed Feb 25, 2024
1 parent 9476fe3 commit 8ee2409
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: change to client directory
run: cd ./client

- name: Install Dependency
run: npm install

- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/product/CreateBrand.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Flex } from 'antd';
import { useState } from 'react';
import { useCreateBrandMutation } from '../../redux/features/brandApi';
import { useCreateBrandMutation } from '../../redux/features/management/brandApi';
import toastMessage from '../../lib/toastMessage';

const CreateBrand = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Col, Flex, Row, Slider } from 'antd';
import React from 'react';
import { useGetAllCategoriesQuery } from '../../redux/features/categoryApi';
import { useGetAllBrandsQuery } from '../../redux/features/brandApi';
import { useGetAllBrandsQuery } from '../../redux/features/management/brandApi';

interface ProductManagementFilterProps {
query: { name: string; category: string; brand: string; limit: number };
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/CreateProduct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Button, Col, Flex, Row } from 'antd';
import { FieldValues, useForm } from 'react-hook-form';
import CustomInput from '../components/CustomInput';
import toastMessage from '../lib/toastMessage';
import { useGetAllBrandsQuery } from '../redux/features/brandApi';
import { useGetAllBrandsQuery } from '../redux/features/management/brandApi';
import { useGetAllCategoriesQuery } from '../redux/features/categoryApi';
import { useCreateNewProductMutation } from '../redux/features/management/productApi';
import { useGetAllSellerQuery } from '../redux/features/sellerApi';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { baseApi } from "./baseApi";
import { baseApi } from "../baseApi";

const brandApi = baseApi.injectEndpoints({
endpoints: (builder) => ({
Expand Down

0 comments on commit 8ee2409

Please sign in to comment.