Skip to content

Commit

Permalink
Merge pull request #78 from DEPthes/dev
Browse files Browse the repository at this point in the history
Chore Vercel Analytics 추가
  • Loading branch information
jisupark123 authored Aug 28, 2023
2 parents 0e323fc + 2222882 commit c5ac78a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"dependencies": {
"@svgr/webpack": "^8.0.1",
"@vercel/analytics": "^1.0.2",
"autoprefixer": "10.4.14",
"axios": "^1.4.0",
"next": "13.4.12",
Expand Down
10 changes: 3 additions & 7 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import ieumAxios from '@/apis/ieumAxios';
import { authToken } from '@/class/authToken';
import '@/styles/globals.css';
import AppQueryClientProvider from '@/components/appQueryClientProvider';
import AlertView from '@/components/modal/alertView';
import useApiError from '@/hooks/custom/useApiError';
import '@/styles/globals.css';
import axios, { AxiosError } from 'axios';
import { Analytics } from '@vercel/analytics/react';
import type { AppProps } from 'next/app';
import { useEffect, useState } from 'react';
import { QueryClient, QueryClientProvider, useQuery } from 'react-query';
import { RecoilRoot } from 'recoil';

export default function App({ Component, pageProps }: AppProps) {
Expand All @@ -16,6 +11,7 @@ export default function App({ Component, pageProps }: AppProps) {
<AppQueryClientProvider>
<AlertView />
<Component {...pageProps} />
<Analytics />
</AppQueryClientProvider>
</RecoilRoot>
);
Expand Down

0 comments on commit c5ac78a

Please sign in to comment.