Skip to content

Commit

Permalink
cleanup: remove extra console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-harris authored and densumesh committed May 30, 2024
1 parent 909ff27 commit 67fd47f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions search/src/components/CreateNewDocChunkForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,10 @@ export const CreateNewDocChunkForm = () => {

const chunkHTMLContentValue = editorHtmlContent();
const chunkTextContentValue = editorTextContent();
console.log(
`chunkTextContentValue: ${JSON.stringify(chunkTextContentValue)}`,
);

const docChunkLinkValue = docChunkLink();

if (chunkTextContentValue == "") {
console.log("Errors");
const errors: string[] = [];
setErrorFields(errors);
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
Expand Down
2 changes: 0 additions & 2 deletions search/src/components/TinyEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const TinyEditor = (props: TinyEditorProps) => {
let tinyEditor;

const initEditor = async () => {
console.log("running tiny setup");
const options = {
selector: "#editor",
height: "100%",
Expand Down Expand Up @@ -97,7 +96,6 @@ export const TinyEditor = (props: TinyEditorProps) => {
try {
// eslint-disable-next-line
const tinyMCE = (window as any).tinymce;
console.log(tinyMCE);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
await tinyMCE.init(options);
if (props.htmlValue) {
Expand Down
4 changes: 0 additions & 4 deletions search/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ div.tox.tox-tinymce {
min-height: 200px;
}

.debug {
outline: 1px solid red;
}

mark > div > * {
background-color: #ff0;
color: #000;
Expand Down

0 comments on commit 67fd47f

Please sign in to comment.