mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
Use toolkit/chakra/link instead of next/link per project lint rules
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Center, Flex, Spinner, Text } from '@chakra-ui/react';
|
||||
import type { NextPage } from 'next';
|
||||
import NextLink from 'next/link';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
|
||||
import { Link } from 'toolkit/chakra/link';
|
||||
import PageNextJs from 'nextjs/PageNextJs';
|
||||
|
||||
import config from 'configs/app';
|
||||
@@ -97,9 +97,9 @@ const OidcCallback: NextPage = () => {
|
||||
<Flex direction="column" alignItems="center" gap={ 4 }>
|
||||
<Text fontSize="xl" fontWeight="bold" color="red.500">Authentication Error</Text>
|
||||
<Text color="gray.400">{ error }</Text>
|
||||
<NextLink href="/" style={{ color: 'var(--chakra-colors-blue-400)', textDecoration: 'none' }}>
|
||||
<Link href="/" color="blue.400">
|
||||
Return to home
|
||||
</NextLink>
|
||||
</Link>
|
||||
</Flex>
|
||||
</Center>
|
||||
</PageNextJs>
|
||||
|
||||
Reference in New Issue
Block a user