From 0a0085fe827f04036be43664582720924d6b4ab4 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sat, 6 Jul 2024 04:55:44 +0200 Subject: [PATCH] Remove unnecessary WALLETS_QUERY --- pages/settings/wallets/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/settings/wallets/index.js b/pages/settings/wallets/index.js index 1bec8d13..9c16e10d 100644 --- a/pages/settings/wallets/index.js +++ b/pages/settings/wallets/index.js @@ -1,7 +1,6 @@ import { getGetServerSideProps } from '@/api/ssrApollo' import Layout from '@/components/layout' import styles from '@/styles/wallet.module.css' -import { WALLETS as WALLETS_QUERY } from '@/fragments/wallet' import Link from 'next/link' import { useWallets } from '@/components/wallet' import { useState } from 'react' @@ -9,7 +8,7 @@ import dynamic from 'next/dynamic' const WalletCard = dynamic(() => import('@/components/wallet-card'), { ssr: false }) -export const getServerSideProps = getGetServerSideProps({ query: WALLETS_QUERY, authRequired: true }) +export const getServerSideProps = getGetServerSideProps({ authRequired: true }) export default function Wallet ({ ssrData }) { const wallets = useWallets()