mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
13 lines
344 B
TypeScript
13 lines
344 B
TypeScript
import { Renderer } from "@nodegui/react-nodegui";
|
|
import React from "react";
|
|
import App from "./app";
|
|
|
|
process.title = "My NodeGui App";
|
|
Renderer.render(<App />);
|
|
// This is for hot reloading (this will be stripped off in production by webpack)
|
|
if (module.hot) {
|
|
module.hot.accept(["./app"], function() {
|
|
Renderer.forceUpdate();
|
|
});
|
|
}
|