use jsx extension for react stuff

This commit is contained in:
Thomas Ruoff
2020-11-28 14:12:42 +01:00
parent abc9081da2
commit f6e08255a6
12 changed files with 33 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
import AppContext from "./app";
const AppProvider = ({ debug, children }) => {
const AppProvider = ({ debug = false, children }) => {
const [songs, setSongs] = useState(null);
const [openSong, setOpenSong] = useState(null);