From 55f15c9350cc531324e6182895f494eeb8174bc6 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 29 Apr 2019 09:13:59 +0900 Subject: Move to react --- src/settings/components/ui/input.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings/components/ui/input.jsx') diff --git a/src/settings/components/ui/input.jsx b/src/settings/components/ui/input.jsx index e99dbc7..2f42b62 100644 --- a/src/settings/components/ui/input.jsx +++ b/src/settings/components/ui/input.jsx @@ -1,7 +1,7 @@ -import { h, Component } from 'preact'; +import React from 'react'; import './input.scss'; -class Input extends Component { +class Input extends React.Component { renderText(props) { let inputClassName = props.error ? 'input-error' : ''; -- cgit v1.2.3