fix(ui): remove unnecessary code

This commit is contained in:
sylenien 2022-05-18 14:14:33 +02:00 committed by Delirium
parent cde2a6e2d5
commit 69002865d6
2 changed files with 1 additions and 7 deletions

View file

@ -1,7 +1,5 @@
import React, { useState, useRef, useEffect } from 'react';
import cn from 'classnames';
import { Icon } from 'UI';
import stl from './widgetName.css'
interface Props {
name: string;
@ -42,7 +40,7 @@ function WidgetName(props: Props) {
<input
ref={ ref }
name="name"
className={cn('rounded fluid border-0', stl.input)}
className="rounded fluid border-0 -mx-2 px-2 h-8"
value={name}
onChange={write}
onBlur={onBlur}

View file

@ -1,4 +0,0 @@
.input {
padding: 5px 9px;
height: 32px!important;
}