Skip to content

Commit

Permalink
fix(syntax): 🔧 upgrade syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
umstek committed Oct 29, 2022
1 parent 36b5057 commit 6964a1b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .postcssrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"plugins": {
"postcss-import": true,
"tailwindcss": true,
"postcss-nested": true
"postcss-import": {},
"tailwindcss/nesting": {},
"tailwindcss": {}
}
}
9 changes: 6 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import React from "react";
import ReactDOM from "react-dom/client";

import { App } from "./views/App";

ReactDOM.render(React.createElement(App), document.getElementById("app"));
ReactDOM.createRoot(document.getElementById("app")!).render(
React.createElement(App)
);

0 comments on commit 6964a1b

Please sign in to comment.