Skip to content

Commit

Permalink
fix: 🐛 fixed spell name + added type
Browse files Browse the repository at this point in the history
  • Loading branch information
snenenenenenene committed Aug 6, 2023
1 parent 8d4ed39 commit a0e70cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/sheets/[id]/spells/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Modal } from "@/app/components/common/Modal";
import { getSheetWithId, updateSheetWithId } from "@/app/utils/apiCalls";
import { Sheet, useSheetStore } from "@/app/utils/store";
import { Class } from "@/data/classes/types";
import { Spell, spells } from "@/data/spells/spellts";
import { Spell, spells } from "@/data/spells/spells";
import { useEffect, useState } from "react";
import { FiInfo } from "react-icons/fi";
import { toast } from "react-toastify";
Expand Down
2 changes: 1 addition & 1 deletion app/utils/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { Class } from "@/data/classes/types";
import { Gear } from "@/data/gear/gear";
import { Race } from "@/data/races/types";
import { Spell } from "@/data/spells/spellts";
import { Spell } from "@/data/spells/spells";
import PocketBase from "pocketbase";
import { create } from "zustand";
import { devtools, persist } from "zustand/middleware";
Expand Down
1 change: 1 addition & 0 deletions data/spells/spellts.ts → data/spells/spells.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export type Spell = {
| "15 feet"
| "10 feet"
| "5 feet"
| "Self (15-foot cone)"
| "Touch"
| "Self"
| "Self (5-foot radius)"
Expand Down

0 comments on commit a0e70cc

Please sign in to comment.