Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import profile from "routes/profile.js";
import auth from "routes/auth.js";
import support from "routes/support.js";
import taxonomy from "routes/taxonomy.js";
import quiz from "routes/quiz.js";
import piper from "routes/piper.js";
import region from "routes/region.js";
import ebirdProxy from "routes/ebird-proxy.js";
Expand All @@ -28,7 +27,6 @@ app.route("/v1/trips", trips);
app.route("/v1/auth", auth);
app.route("/v1/support", support);
app.route("/v1/taxonomy", taxonomy);
app.route("/v1/quiz", quiz);
app.route("/v1/piper", piper);
app.route("/v1/region", region);
app.route("/v1/ebird-proxy", ebirdProxy);
Expand Down
3 changes: 1 addition & 2 deletions backend/lib/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Trip from "models/Trip.js";
import Profile from "models/Profile.js";
import TargetList from "models/TargetList.js";
import Invite from "models/Invite.js";
import QuizImages from "models/QuizImages.js";
import Vault from "models/Vault.js";
import mongoose from "mongoose";

Expand Down Expand Up @@ -45,4 +44,4 @@ export async function connect() {
}
}

export { Trip, Profile, TargetList, Invite, QuizImages, Vault };
export { Trip, Profile, TargetList, Invite, Vault };
19 changes: 0 additions & 19 deletions backend/models/QuizImages.ts

This file was deleted.

58 changes: 0 additions & 58 deletions backend/routes/quiz.ts

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/components/TripOptionsDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ export default function TripOptionsDropdown({ className }: Props) {
icon: "bullseye",
hidden: !canEdit,
},
{
name: "Bird Quiz",
href: `/${trip?._id}/quiz`,
icon: "questionMark",
},
{
name: "Share Trip",
onClick: () => open("share"),
Expand Down
203 changes: 0 additions & 203 deletions frontend/pages/[tripId]/quiz.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions shared/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,6 @@ export type Editor = {
lifelist: string[];
};

export type QuizImages = {
_id: string;
code: string;
ids: string[];
name: string;
};

export type Vault = {
_id: string;
key: string;
Expand Down