Skip to content

Commit 6af447e

Browse files
committed
fix: ui errors
1 parent 0947305 commit 6af447e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/ProfileCell/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const ProfileCell: React.FC<ProfileCellProps> = ({
127127
onClick={deleteHandler}
128128
label={'delete profile'}
129129
css={[
130-
tw`flex items-center justify-center w-8 h-8 rounded-full text-gray-600`,
130+
tw`flex items-center justify-center w-8 h-8 text-gray-600`,
131131
css`
132132
padding: 0;
133133

src/pages/Landing/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ import { ExistingProfiles, LastUsedProfile } from '../../utils/constant'
2525
const Page: React.FC = () => {
2626
const history = useHistory()
2727
const protocol = window.location.protocol
28-
const [name, setName] = useState<string | undefined>()
29-
const [host, setHost] = useState<string | undefined>()
30-
const [port, setPort] = useState<string | undefined>()
31-
const [key, setKey] = useState<string | undefined>()
28+
const [name, setName] = useState('')
29+
const [host, setHost] = useState('')
30+
const [port, setPort] = useState('')
31+
const [key, setKey] = useState('')
3232
const [useTls, setUseTls] = useState<boolean>(() => protocol === 'https:')
3333
const [
3434
existingProfiles,

0 commit comments

Comments
 (0)