Skip to content

Commit e71340c

Browse files
committed
PEER-219: Remove redundant code
Signed-off-by: SeeuSim <[email protected]>
1 parent 7ed719b commit e71340c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

frontend/src/components/providers/query-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { FC, PropsWithChildren } from 'react';
44

55
import { queryClient } from '@/lib/query-client';
66

7-
const IS_SHOW_DEVTOOLS = true;
7+
const IS_SHOW_DEVTOOLS = false;
88

99
export const QueryProvider: FC<PropsWithChildren> = ({ children }) => {
1010
return (

frontend/src/components/ui/multi-select.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// https://github.com/BelkacemYerfa/shadcn-extension
22

3-
'use client';
4-
53
import { Command as CommandPrimitive } from 'cmdk';
64
import { Check, X as RemoveIcon } from 'lucide-react';
75
import React, {
@@ -221,7 +219,7 @@ const MultiSelectorTrigger = forwardRef<HTMLDivElement, React.HTMLAttributes<HTM
221219
<div
222220
ref={ref}
223221
className={cn(
224-
'flex flex-wrap gap-1 p-1 py-2 ring-1 ring-muted whitespace-nowrap rounded-md text-sm shadow-sm rounded-lg bg-background border border-input placeholder:text',
222+
'flex flex-wrap gap-1 p-1 py-2 ring-1 ring-muted whitespace-nowrap text-sm shadow-sm rounded-lg bg-background border border-input placeholder:text',
225223
{
226224
'ring-1 focus-within:ring-ring': activeIndex === -1,
227225
},

0 commit comments

Comments
 (0)