mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 04:02:40 -05:00
Fix linter problem
This commit is contained in:
parent
9041777896
commit
396f353121
|
|
@ -4,14 +4,8 @@ import type {
|
|||
MetaFunction,
|
||||
} from "@remix-run/node";
|
||||
import { json } from "@remix-run/node";
|
||||
import type {
|
||||
ShouldReloadFunction} from "@remix-run/react";
|
||||
import {
|
||||
Link,
|
||||
Outlet,
|
||||
useLoaderData,
|
||||
useSearchParams,
|
||||
} from "@remix-run/react";
|
||||
import type { ShouldReloadFunction } from "@remix-run/react";
|
||||
import { Link, Outlet, useLoaderData, useSearchParams } from "@remix-run/react";
|
||||
import clsx from "clsx";
|
||||
import invariant from "tiny-invariant";
|
||||
import { z } from "zod";
|
||||
|
|
@ -267,7 +261,7 @@ function searchParamsToLegalTier(
|
|||
if (
|
||||
!tierFromSearchParams ||
|
||||
!suggestions ||
|
||||
!suggestions.hasOwnProperty(tierFromSearchParams)
|
||||
!suggestions[tierFromSearchParams]
|
||||
) {
|
||||
return tierVisibleInitialState(suggestions);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user