From 85fc06d1470b1d7cee2f1114706d465c736695f6 Mon Sep 17 00:00:00 2001 From: Sam Poder <39828164+sampoder@users.noreply.github.com> Date: Tue, 25 Jan 2022 08:36:44 +0800 Subject: [PATCH] Attempt to fix linting errors + use next/script (#317) * Attempt to fix linting errors + use next/script * Update analytics.js * Update analytics.js --- components/analytics.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/components/analytics.js b/components/analytics.js index 584513ad..aa5a7b34 100644 --- a/components/analytics.js +++ b/components/analytics.js @@ -1,9 +1,11 @@ +import Script from 'next/script' -export default () => ( - - + src="https://plausible.io/js/plausible.js" + /> ) + +export default Analytics