Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit77e29c5

Browse files
committed
cleans up index.js file
1 parentbfb4ca1 commit77e29c5

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

‎start/client/src/index.tsx‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +0,0 @@
1-
import{ApolloClient,ApolloProvider}from'@apollo/client';
2-
import{cache}from'./cache';
3-
importReactfrom'react';
4-
importReactDOMfrom'react-dom';
5-
importPagesfrom'./pages';
6-
importinjectStylesfrom'./styles';
7-
8-
// Initialize ApolloClient
9-
constclient=newApolloClient({
10-
cache,
11-
uri:'http://localhost:4000/graphql',
12-
});
13-
14-
injectStyles();
15-
16-
// Pass the ApolloClient instance to the ApolloProvider component
17-
ReactDOM.render(
18-
<ApolloProviderclient={client}>
19-
<Pages/>
20-
</ApolloProvider>,
21-
document.getElementById('root'),
22-
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp