Skip to content

Commit

Permalink
moved auth back
Browse files Browse the repository at this point in the history
  • Loading branch information
candywal committed Dec 8, 2023
1 parent a86d7b9 commit 6556ce4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Frontend/src/pages/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react";
import axios from "axios";
import Image from "next/image";
import Cookie from "js-cookie";
import { isAuthenticated } from "../../public/auth";
import { isAuthenticated } from "./auth";


export default function Create() {
Expand Down
2 changes: 1 addition & 1 deletion Frontend/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Link from "next/link";
import Image from "next/image";
import { isAuthenticated } from "../../public/auth";
import { isAuthenticated } from "./auth";


export default function InitialLanding() {
Expand Down
2 changes: 1 addition & 1 deletion Frontend/src/pages/portfolio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Link from "next/link";
import { isAuthenticated } from "../../public/auth";
import { isAuthenticated } from "./auth";
import Cookie from "js-cookie";
import React, { useEffect, useState } from "react";
import Image from "next/image";
Expand Down
2 changes: 1 addition & 1 deletion Frontend/src/pages/vote.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// src/pages/vote.js
import React, { useEffect, useState } from 'react';
import Image from 'next/image';
import { isAuthenticated } from "../../public/auth";
import { isAuthenticated } from "./auth";
import axios from 'axios';
import styles from './vote.module.css';

Expand Down

0 comments on commit 6556ce4

Please sign in to comment.