test: fix next/link import

This commit is contained in:
Elliot DeNolf
2024-03-16 06:46:30 -04:00
parent 1680f0ef52
commit c48719dfdb

View File

@@ -1,6 +1,8 @@
'use client'
import Link from 'next/link'
import LinkImport from 'next/link.js'
const Link = (LinkImport.default || LinkImport) as unknown as typeof LinkImport.default
import React from 'react'
// As this is the demo project, we import our dependencies from the `src` directory.