From 94f1de3e254d8de8a7cd3552fd7fd21f5f11f9ed Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Sat, 15 May 2021 10:25:22 +0200 Subject: [PATCH] improvements --- CHANGELOG.md | 2 +- components/auth/footer.tsx | 11 ----------- .../form/admin/export.submission.action.tsx | 11 ++++++----- graphql/client.ts | 7 ++++--- pages/_app.tsx | 17 ++++------------- pages/form/[id]/index.tsx | 13 ++----------- 6 files changed, 17 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0970172f..6867f103 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - combined notificationts to become more versatile - use exported hooks for graphql - +- disable swipe gesture ### Fixed diff --git a/components/auth/footer.tsx b/components/auth/footer.tsx index ca2c05dc..5e8d624a 100644 --- a/components/auth/footer.tsx +++ b/components/auth/footer.tsx @@ -1,5 +1,4 @@ import { Button, Select } from 'antd' -import getConfig from 'next/config' import Link from 'next/link' import { useRouter } from 'next/router' import React from 'react' @@ -7,12 +6,9 @@ import GitHubButton from 'react-github-button' import { useTranslation } from 'react-i18next' import { useSettingsQuery } from '../../graphql/query/settings.query' import { languages } from '../../i18n' -import { NextConfigType } from '../../next.config.type' import { clearAuth, withAuth } from '../with.auth' import scss from './footer.module.scss' -const { publicRuntimeConfig } = getConfig() as NextConfigType - interface Props { me?: { id: string @@ -42,7 +38,6 @@ const AuthFooterInner: React.FC = (props) => {