mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-01 14:33:38 +00:00
Fix typing for Desktop
This commit is contained in:
parent
60c0ad1e16
commit
be2ab37809
1 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,11 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
|
||||
const Desktop = React.memo(({ children }) => {
|
||||
interface Props {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const Desktop = React.memo(({ children }: Props) => {
|
||||
const [desktopNode] = React.useState(() => document.createElement("div"));
|
||||
|
||||
React.useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue