hunk.code_window:           "label": "Query",
             "configProperty": "actionConfiguration.formData.find.query",
             "controlType": "QUERY_DYNAMIC_INPUT_TEXT",
             "evaluationSubstitutionType": "TEMPLATE",
             "placeholderText": "{rating : {$gte : 9}}"
           },
           {
             "label": "Sort",
  
hunk.labels: keep keep add keep keep keep keep keep
hunk.after_edit:           "inputType": "JSON",
  
hunk.file_path: app/server/appsmith-plugins/mongoPlugin/src/main/resources/editor/find.json
hunk.type: add
file: import React from "react";
  import { connect } from "react-redux";
  import styled from "styled-components";
  import Button from "components/editorComponents/Button";
  import { flushErrors } from "actions/errorActions";
  import PageUnavailableImage from "assets/images/404-image.png";
  
  const Wrapper = styled.div`
    text-align: center;
    margin-top: 5%;
    .bold-text {
      font-weight: ${(props) => props.theme.fontWeights[3]};
      font-size: 24px;
    }
    .page-unavailable-img {
      width: 35%;
    }
    .button-position {
      margin: auto;
    }
  `;
  
  interface Props {
    flushErrors?: any;
  }
  
  function ClientError(props: Props) {
    const { flushErrors } = props;
  
    return (
      <Wrapper>
        <img
          alt="Page Unavailable"
          className="page-unavailable-img"
          src={PageUnavailableImage}
        />
        <div>
          <p className="bold-text">Whoops something went wrong!</p>
          <p>This is embarrassing, please contact Appsmith support for help</p>
          <Button
            className="button-position"
            filled
            icon="arrow-right"
            iconAlignment="right"
            intent="primary"
            onClick={() => {
              flushErrors();
              window.open("https://discord.gg/rBTTVJp", "_blank");
            }}
            size="small"
            text="Contact us on discord"
          />
        </div>
      </Wrapper>
    );
  }
  
  export default connect(null, {
    flushErrors,
  })(ClientError);
  