From a0eba1ec17be239dca6653dc6f89644020e0f2e1 Mon Sep 17 00:00:00 2001 From: Tom Lodge Date: Fri, 8 Apr 2022 14:14:06 +0100 Subject: [PATCH] added link instead of href --- pages/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.js b/pages/index.js index 41741b9..0303ac6 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,6 +1,6 @@ import styles from '../styles/Index.module.scss'; import {useState} from 'react'; - +import Link from 'next/link' const pages = [ "Welcome to the SHAPE OF TRUST project", "We are going to show you a story about taking a taxi", @@ -19,7 +19,7 @@ export default function Gallery({answers:_answers}) {
{pages[page]}
{page < pages.length - 1 &&
Next
} - {page == pages.length - 1 && GO} + {page == pages.length - 1 && GO}