Prevent getQuotaForRegion when region undefined (#107)

* Remove unused imports

* Prevent error occurring when getQuotaForRegion is called with region undefined

---------

Co-authored-by: Josh Tomaino <josh@cloverleaf.me>
This commit is contained in:
Josh Tomaino
2025-02-11 03:43:49 -05:00
committed by GitHub
parent d497c29eba
commit 1c2417df2f
6 changed files with 8 additions and 15 deletions

View File

@@ -2,7 +2,6 @@
import { Button } from "@unsend/ui/src/button";
import { Input } from "@unsend/ui/src/input";
import { Label } from "@unsend/ui/src/label";
import {
Dialog,
DialogContent,

View File

@@ -1,7 +1,5 @@
"use client";
import { LogOut } from "lucide-react";
import { signOut } from "next-auth/react";
import Link from "next/link";
import { usePathname } from "next/navigation";
import React from "react";