Skip to content

Commit

Permalink
Tested custom hook in the example application
Browse files Browse the repository at this point in the history
  • Loading branch information
junwenzh committed Oct 19, 2023
1 parent b504750 commit 5302982
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions example/frontend_react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@grpcexpress/usegrpcexpress": "^0.2.6",
"@mui/material": "^5.14.8",
"@mui/x-data-grid": "^6.13.0",
"google-protobuf": "^3.21.2",
Expand Down
3 changes: 2 additions & 1 deletion example/frontend_react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { StocksServiceClient } from '../protos/StocksServiceClientPb';
import { Container, Stack } from '@mui/material';
import Responses from './components/Responses';
import { User } from '../protos/stocks_pb';
import { useGrpcExpress } from './useGrpcExpress';
import { useGrpcExpress } from '@grpcexpress/usegrpcexpress';
// import { useGrpcExpress } from "./useGrpcExpress";

type Response = {
timeSpan: number;
Expand Down

0 comments on commit 5302982

Please sign in to comment.