From c654a31fdb48a76fb4b0562168c920ca850a7b9e Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Sun, 3 Dec 2023 16:21:52 -0500
Subject: cleaned up warnings and errors, working with typescript 20.10

---
 src/client/views/KeyphraseQueryView.tsx | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

(limited to 'src/client/views/KeyphraseQueryView.tsx')

diff --git a/src/client/views/KeyphraseQueryView.tsx b/src/client/views/KeyphraseQueryView.tsx
index 13d52db88..e996fc946 100644
--- a/src/client/views/KeyphraseQueryView.tsx
+++ b/src/client/views/KeyphraseQueryView.tsx
@@ -1,6 +1,6 @@
-import { observer } from "mobx-react";
-import React = require("react");
-import "./KeyphraseQueryView.scss";
+import { observer } from 'mobx-react';
+import * as React from 'react';
+import './KeyphraseQueryView.scss';
 
 // tslint:disable-next-line: class-name
 export interface KP_Props {
@@ -8,7 +8,7 @@ export interface KP_Props {
 }
 
 @observer
-export class KeyphraseQueryView extends React.Component<KP_Props>{
+export class KeyphraseQueryView extends React.Component<KP_Props> {
     constructor(props: KP_Props) {
         super(props);
     }
@@ -22,13 +22,17 @@ export class KeyphraseQueryView extends React.Component<KP_Props>{
                 <form>
                     {keyterms.map((kp: string) => {
                         //return (<p>{"-" + kp}</p>);
-                        return (<p><label>
-                            <input name="query" type="radio" />
-                            <span>{kp}</span>
-                        </label></p>);
+                        return (
+                            <p>
+                                <label>
+                                    <input name="query" type="radio" />
+                                    <span>{kp}</span>
+                                </label>
+                            </p>
+                        );
                     })}
                 </form>
             </div>
         );
     }
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3-70-g09d2

