Skip to content

Commit

Permalink
refactor(index.page.tsx): change setup function declaration to arrow …
Browse files Browse the repository at this point in the history
…function for consistency and readability
  • Loading branch information
ymekuria committed Sep 23, 2024
1 parent cb33127 commit c194997
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Home() {

useEffect(() => {

async function setup() {
const setup = async () => {
try {
if (!state.hasBeenSetup) {
setDisplayText('Loading web worker...');
Expand Down

0 comments on commit c194997

Please sign in to comment.