Skip to content

Commit

Permalink
Change return to use parenthesis
Browse files Browse the repository at this point in the history
Apparently using square brackets can cause some issues...
  • Loading branch information
molnard1 authored Jan 31, 2024
1 parent 5cd49fd commit ef6467e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import React from "react";
import { createRoot } from 'react-dom/client';

export default function App() {
return [
return (
<div className="text-center text-4xl bg-gray-600 text-black">Hello TailwindCSS + React!</div>
]
)
}

createRoot(document.getElementById("root")).render(<App />);

0 comments on commit ef6467e

Please sign in to comment.