Skip to content

Commit

Permalink
Video-43-Deploy-On-Vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
basir committed Jul 22, 2021
1 parent d7d9b77 commit 4904b48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pages/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import axios from 'axios';
import { useRouter } from 'next/router';
import NextLink from 'next/link';
import React, { useContext, useEffect, useState } from 'react';
import React, { useContext, useEffect } from 'react';
import Layout from '../components/Layout';
import { Store } from '../utils/Store';
import useStyles from '../utils/styles';
Expand Down Expand Up @@ -121,7 +121,7 @@ export default function Login() {
</Button>
</ListItem>
<ListItem>
Don't have an account? &nbsp;
Don&apos;t have an account? &nbsp;
<NextLink href={`/register?redirect=${redirect || '/'}`} passHref>
<Link>Register</Link>
</NextLink>
Expand Down
4 changes: 2 additions & 2 deletions pages/order/[id].js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useContext, useEffect, useReducer, useState } from 'react';
import React, { useContext, useEffect, useReducer } from 'react';
import dynamic from 'next/dynamic';
import Layout from '../../components/Layout';
import { Store } from '../../utils/Store';
Expand Down Expand Up @@ -136,7 +136,7 @@ function Order({ params }) {
loadPaypalScript();
}
}, [order, successPay, successDeliver]);
const { closeSnackbar, enqueueSnackbar } = useSnackbar();
const { enqueueSnackbar } = useSnackbar();

function createOrder(data, actions) {
return actions.order
Expand Down

0 comments on commit 4904b48

Please sign in to comment.