Please set your NEXT_PUBLIC_MAGIC_API_KEY environment variable in .env. You can
get your Magic API key from the Magic Dashboard.
@@ -32,7 +29,7 @@ const MagicDashboardRedirect = () => {
diff --git a/scaffolds/nextjs-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx b/scaffolds/nextjs-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
index 42595c8..aeb468b 100644
--- a/scaffolds/nextjs-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
+++ b/scaffolds/nextjs-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import Image from 'next/image';
-import Link from 'public/link.svg';
import { getBlockExplorer } from '@/utils/network';
const TransactionHistory = () => {
@@ -9,7 +8,7 @@ const TransactionHistory = () => {
return (
Please set your NEXT_PUBLIC_MAGIC_API_KEY environment variable in .env. You can
get your Magic API key from the Magic Dashboard.
@@ -32,7 +29,7 @@ const MagicDashboardRedirect = () => {
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Discord.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
index 763aed7..090ec91 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
@@ -3,9 +3,7 @@ import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
import Spinner from '@/components/ui/Spinner';
-import classNames from 'classnames';
import Image from 'next/image';
-import discord from 'public/social/Discord.svg';
import Card from '@/components/ui/Card';
import CardHeader from '@/components/ui/CardHeader';
@@ -62,7 +60,7 @@ const Discord = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Discord
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
index 17bd3a1..1d02610 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import facebook from 'public/social/Facebook.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Facebook = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Facebook = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Facebook
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Github.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Github.tsx
index 8004de7..db07509 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Github.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Github.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import github from 'public/social/Github.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Github = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Github = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Github
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Google.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Google.tsx
index 4dc8087..635c9b6 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Google.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Google.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import google from 'public/social/Google.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Google = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Google = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Google
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
index 8986ba7..732c850 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import twitch from 'public/social/Twitch.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Twitch = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Twitch = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Twitch
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
index f90a7a2..bdfd4ff 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import twitter from 'public/social/Twitter.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Twitter = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Twitter = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Twitter
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/cards/SendTransactionCard.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/cards/SendTransactionCard.tsx
index 078537e..f9c06d5 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/cards/SendTransactionCard.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/magic/cards/SendTransactionCard.tsx
@@ -10,7 +10,6 @@ import showToast from '@/utils/showToast';
import Spinner from '@/components/ui/Spinner';
import { getFaucetUrl, getNetwork } from '@/utils/network';
import Image from 'next/image';
-import Link from 'public/link.svg';
import * as fcl from '@onflow/fcl';
import Spacer from '@/components/ui/Spacer';
import TransactionHistory from '@/components/ui/TransactionHistory';
@@ -78,8 +77,8 @@ const SendTransaction = () => {
null} disabled={false}>
- Get Test FLOW
-
+ {/* Get Test {getNetworkToken()} getNetworkToken() is not defined */}
+
diff --git a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
index 42595c8..aeb468b 100644
--- a/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
+++ b/scaffolds/nextjs-flow-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import Image from 'next/image';
-import Link from 'public/link.svg';
import { getBlockExplorer } from '@/utils/network';
const TransactionHistory = () => {
@@ -9,7 +8,7 @@ const TransactionHistory = () => {
return (
Please set your NEXT_PUBLIC_MAGIC_API_KEY environment variable in .env. You can
get your Magic API key from the Magic Dashboard.
@@ -32,7 +29,7 @@ const MagicDashboardRedirect = () => {
diff --git a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Discord.tsx b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
index 0c73450..090ec91 100644
--- a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
+++ b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
@@ -4,7 +4,6 @@ import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import discord from 'public/social/Discord.svg';
import Card from '@/components/ui/Card';
import CardHeader from '@/components/ui/CardHeader';
@@ -61,7 +60,7 @@ const Discord = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Discord
diff --git a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
index e6ec008..5efea8d 100644
--- a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
+++ b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
@@ -4,7 +4,6 @@ import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
import Spinner from '../../ui/Spinner';
import Image from 'next/image';
-import facebook from 'public/social/Facebook.svg';
import Card from '../../ui/Card';
import CardHeader from '../../ui/CardHeader';
@@ -61,7 +60,7 @@ const Facebook = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Facebook
diff --git a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Github.tsx b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Github.tsx
index ab59253..1a2c3e3 100644
--- a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Github.tsx
+++ b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Github.tsx
@@ -4,7 +4,6 @@ import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
import Spinner from '../../ui/Spinner';
import Image from 'next/image';
-import github from 'public/social/Github.svg';
import Card from '../../ui/Card';
import CardHeader from '../../ui/CardHeader';
@@ -61,7 +60,7 @@ const Github = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Github
diff --git a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Google.tsx b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Google.tsx
index b381b92..d74ddf8 100644
--- a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Google.tsx
+++ b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Google.tsx
@@ -4,7 +4,6 @@ import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
import Spinner from '../../ui/Spinner';
import Image from 'next/image';
-import google from 'public/social/Google.svg';
import Card from '../../ui/Card';
import CardHeader from '../../ui/CardHeader';
@@ -61,7 +60,7 @@ const Google = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Google
diff --git a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
index 515279f..a6fb930 100644
--- a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
+++ b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
@@ -4,7 +4,6 @@ import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
import Spinner from '../../ui/Spinner';
import Image from 'next/image';
-import twitch from 'public/social/Twitch.svg';
import Card from '../../ui/Card';
import CardHeader from '../../ui/CardHeader';
@@ -61,7 +60,7 @@ const Twitch = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Twitch
diff --git a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
index fdb06fb..87d0717 100644
--- a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
+++ b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
@@ -4,7 +4,6 @@ import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
import Spinner from '../../ui/Spinner';
import Image from 'next/image';
-import twitter from 'public/social/Twitter.svg';
import Card from '../../ui/Card';
import CardHeader from '../../ui/CardHeader';
@@ -61,7 +60,7 @@ const Twitter = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Twitter
diff --git a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
index ee21857..9cfba30 100644
--- a/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
+++ b/scaffolds/nextjs-kadena-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
@@ -1,13 +1,12 @@
import React from 'react';
import Image from 'next/image';
-import Link from 'public/link.svg';
import { getBlockExplorer } from '@/utils/network';
const TransactionHistory = ({ reqKey }: { reqKey: string }) => {
return (
Please set your NEXT_PUBLIC_MAGIC_API_KEY environment variable in .env. You can
get your Magic API key from the Magic Dashboard.
@@ -32,7 +29,7 @@ const MagicDashboardRedirect = () => {
diff --git a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Discord.tsx b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
index 763aed7..b8223e0 100644
--- a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
+++ b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Discord.tsx
@@ -5,7 +5,6 @@ import { saveToken } from '@/utils/common';
import Spinner from '@/components/ui/Spinner';
import classNames from 'classnames';
import Image from 'next/image';
-import discord from 'public/social/Discord.svg';
import Card from '@/components/ui/Card';
import CardHeader from '@/components/ui/CardHeader';
@@ -62,7 +61,7 @@ const Discord = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Discord
diff --git a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
index 17bd3a1..1d02610 100644
--- a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
+++ b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Facebook.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import facebook from 'public/social/Facebook.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Facebook = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Facebook = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Facebook
diff --git a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Github.tsx b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Github.tsx
index 8004de7..db07509 100644
--- a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Github.tsx
+++ b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Github.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import github from 'public/social/Github.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Github = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Github = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Github
diff --git a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Google.tsx b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Google.tsx
index 4dc8087..635c9b6 100644
--- a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Google.tsx
+++ b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Google.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import google from 'public/social/Google.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Google = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Google = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Google
diff --git a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
index 8986ba7..732c850 100644
--- a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
+++ b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitch.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import twitch from 'public/social/Twitch.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Twitch = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Twitch = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Twitch
diff --git a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
index f90a7a2..bdfd4ff 100644
--- a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
+++ b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/magic/auth/Twitter.tsx
@@ -2,12 +2,10 @@ import { LoginProps } from '@/utils/types';
import { useMagic } from '../MagicProvider';
import { useEffect, useState } from 'react';
import { saveToken } from '@/utils/common';
-import Spinner from '../../ui/Spinner';
-import classNames from 'classnames';
+import Spinner from '@/components/ui/Spinner';
import Image from 'next/image';
-import twitter from 'public/social/Twitter.svg';
-import Card from '../../ui/Card';
-import CardHeader from '../../ui/CardHeader';
+import Card from '@/components/ui/Card';
+import CardHeader from '@/components/ui/CardHeader';
const Twitter = ({ token, setToken }: LoginProps) => {
const { magic } = useMagic();
@@ -62,7 +60,7 @@ const Twitter = ({ token, setToken }: LoginProps) => {
}}
disabled={false}
>
-
+
Continue with Twitter
diff --git a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
index 42595c8..aeb468b 100644
--- a/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
+++ b/scaffolds/nextjs-solana-dedicated-wallet/template/src/components/ui/TransactionHistory.tsx
@@ -1,6 +1,5 @@
import React from 'react';
import Image from 'next/image';
-import Link from 'public/link.svg';
import { getBlockExplorer } from '@/utils/network';
const TransactionHistory = () => {
@@ -9,7 +8,7 @@ const TransactionHistory = () => {
return (