From 72f8907804d891049f3171aef9a8a53c4149931f Mon Sep 17 00:00:00 2001 From: Adam Chambers Date: Thu, 30 Nov 2023 08:48:50 -0500 Subject: [PATCH] chore: use Next Script component --- apps/marginfi-v2-ui/src/pages/_document.tsx | 14 +++++------ apps/marginfi-v2-ui/src/pages/swap.tsx | 26 +++++++++++++-------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/apps/marginfi-v2-ui/src/pages/_document.tsx b/apps/marginfi-v2-ui/src/pages/_document.tsx index 446dc4b774..26967e2cc1 100644 --- a/apps/marginfi-v2-ui/src/pages/_document.tsx +++ b/apps/marginfi-v2-ui/src/pages/_document.tsx @@ -1,21 +1,19 @@ import { Html, Head, Main, NextScript } from "next/document"; +import Script from "next/script"; export default function Document() { return ( - { - // eslint-disable-next-line @next/next/no-sync-scripts -