Skip to content

Commit

Permalink
Remove unneeded dep
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 committed Dec 30, 2024
1 parent cc8a8bf commit fcbf8d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@mercuryworkshop/epoxy-transport": "^2.1.27",
"@mercuryworkshop/libcurl-transport": "^1.3.15",
"@playform/compress": "^0.1.6",
"@svelte-drama/suspense": "0.7.0",
"@titaniumnetwork-dev/ultraviolet": "^3.2.10",
"@types/node": "^22.10.2",
"@types/sequelize": "^4.28.20",
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 12 additions & 10 deletions src/utils/toast.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
type ToastType = "success" | "error" | "multiline";
type Position =
| "top-left"
| "top-middle"
| "top-right"
| "bottom-left"
| "bottom-right"
| "bottom-center";
type TType = "success" | "error" | "multiline";
type Position = "top"
| "top-start"
| "top-end"
| "center"
| "center-start"
| "center-end"
| "bottom"
| "bottom-start"
| "bottom-end";
interface Props {
toastType: ToastType;
TType: TType;
text: string;
class: string;
id?: string;
Expand All @@ -25,4 +27,4 @@ function toast(query: string) {
element.click();
}

export { type ToastType, type Position, type Props, toast };
export { type TType, type Position, type Props, toast };

0 comments on commit fcbf8d2

Please sign in to comment.