Skip to content

Commit

Permalink
fix: Resolve missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
EnzoVieira committed Dec 8, 2022
1 parent 0964fbe commit 3a07950
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion pages/challenges.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";
import Hero from "@components/website/challenges/Hero";
import Challenges from "@components/website/challenges/Challenges";

Expand Down
2 changes: 1 addition & 1 deletion pages/faq.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";
import Navbar from "@components/website/utils/Navbar";
import Footer from "@components/website/utils/Footer";
import Faqs from "@components/website/faqs";
Expand Down
2 changes: 1 addition & 1 deletion pages/forgot-password.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState, useRef } from "react";
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";
import { sendResetEmail } from "@lib/api";

import { motion as Motion } from "framer-motion";
Expand Down
2 changes: 1 addition & 1 deletion pages/hackathon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";
import Hero from "@components/website/hackathon/Hero";
import PeopleShowcase from "@components/website/utils/PeopleShowcase";
import UnderlineAnimation from "@components/website/utils/UnderlineAnimation";
Expand Down
2 changes: 1 addition & 1 deletion pages/manager/badges.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState, useEffect, useRef } from "react";

import { withAuth } from "/components/Auth";
import { withAuth } from "@context/Auth";

import { getAllBadges, giveBadge } from "/lib/api";

Expand Down
2 changes: 1 addition & 1 deletion pages/manager/identifier.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState, useRef, useEffect } from "react";

import { withAuth } from "/components/Auth";
import { withAuth } from "@context/Auth";

import { getAttendee } from "/lib/api";

Expand Down
4 changes: 1 addition & 3 deletions pages/manager/prizes/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { useState, useRef } from "react";

import { withAuth } from "/components/Auth";

import { giveBadge } from "/lib/api";

import Base from "/components/moonstone/staff/utils/Base";
import QRScanner, { FEEDBACK } from "/components/moonstone/utils/QRScanner";
import { useAuth } from "@context/Auth";
import { useAuth, withAuth } from "@context/Auth";
import { useRouter } from "next/router";

const navigation = ["badges", "prizes", "identifier"];
Expand Down
2 changes: 1 addition & 1 deletion pages/reset.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useRef, useState } from "react";
import { useRouter } from "next/router";
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";

import { resetPasswordWithToken } from "@lib/api";

Expand Down
2 changes: 1 addition & 1 deletion pages/schedule.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";

import Hero from "@components/website/schedule/Hero";

Expand Down
2 changes: 1 addition & 1 deletion pages/speakers.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useRouter } from "next/router";
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";

import Hero from "@components/website/speakers/Hero";
import Schedule from "@components/website/speakers/Schedule";
Expand Down
2 changes: 1 addition & 1 deletion pages/sponsor/remote/dashboard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withAuth } from "/components/Auth";
import { withAuth } from "@context/Auth";
import Dashboard from "/components/moonstone/sponsor/utils/Dashboard";
import Heading from "/components/moonstone/utils/Heading";
import SponsorPrizeButton from "/components/moonstone/sponsor/dashboard/SponsorPrizeButton";
Expand Down
2 changes: 1 addition & 1 deletion pages/sponsor/remote/spotlight.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withAuth } from "/components/Auth";
import { withAuth } from "@context/Auth";
import Dashboard from "/components/moonstone/sponsor/utils/Dashboard";

import SpotlightButton from "/components/moonstone/sponsor/spotlight/SpotlightButton";
Expand Down
4 changes: 1 addition & 3 deletions pages/sponsor/scanner.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { useState, useRef, useEffect } from "react";

import { withAuth } from "/components/Auth";

import { giveBadge } from "/lib/api";

import Base from "/components/moonstone/staff/utils/Base";
import QRScanner, { FEEDBACK } from "/components/moonstone/utils/QRScanner";
import { useAuth } from "@context/Auth";
import { useAuth, withAuth } from "@context/Auth";

const navigation = ["badges"];

Expand Down
2 changes: 1 addition & 1 deletion pages/team.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { withoutAuth } from "@components/Auth";
import { withoutAuth } from "@context/Auth";

import Navbar from "@components/website/utils/Navbar";
import Footer from "@components/website/utils/Footer";
Expand Down

0 comments on commit 3a07950

Please sign in to comment.