title: Why does this render say that it requires a semi colon?
body: <p>I'm new to react and I'm trying to figure out why this render statement says that is requires a semicolon.</p>
  <pre><code>import React, { useState, useEffect } from 'react';
  import './App.css';
  import firebase from 'firebase/compat/app';
  import 'firebase/database';
  import 'firebase/firestore';
  
  function test() {
  
      render() {
          return (
              &lt;div&gt;
                  &lt;p&gt;Display&lt;/p&gt;
              &lt;/div&gt;
          );
      }
    } 
    
  
    export default test;
  </code></pre>