Skip to content

Commit 39d8fba

Browse files
chore(log) remove
1 parent 326bf57 commit 39d8fba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/web/src/pages/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import pageQuery, {
99
import Logout from '../components/Logout'
1010
import { AppointmentList } from '../components/appointments/AppointmentList'
1111
import { getCookie } from '@/utils/getToken'
12+
import { parseCookies } from 'nookies'
1213

1314
interface HomeProps {
1415
queryRefs: {
@@ -78,7 +79,7 @@ export default function Home({ queryRefs }: HomeProps) {
7879

7980
export const getServerSideProps: GetServerSideProps = async (ctx) => {
8081
const token = getCookie(ctx.req.headers)
81-
console.log(token)
82+
8283
if (!token) {
8384
return {
8485
redirect: {

0 commit comments

Comments
 (0)