Skip to content

Commit a1fd10e

Browse files
committed
chore: remove JSX.element
1 parent 957c57f commit a1fd10e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

nextjs/template/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { AppProps } from "next/app";
77
var bottom = _app.wrapper.map(wrapper => wrapper[1] || "").reverse();
88
%>
99

10-
function MyApp({ Component, pageProps }: AppProps): JSX.Element {
10+
function MyApp({ Component, pageProps }: AppProps) {
1111
<%- _app.inner.join("\n") %>
1212
return (
1313
<%- top.join("\n") %>

react/template/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import Home from "pages";
88

99

10-
function App(): JSX.Element {
10+
function App() {
1111
<%- _app.inner.join("\n") %>
1212
return (
1313
<%- top.join("\n") %>

refine-vite/plugins/auth-provider-google/src/pages/login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const GOOGLE_CLIENT_ID = "1041339102270-e1fpe2b6v6u1didfndh7jkjmpcashs4f.apps.go
2121
export const Login: React.FC = () => {
2222
const { mutate: login } = useLogin<CredentialResponse>();
2323

24-
const GoogleButton = (): JSX.Element => {
24+
const GoogleButton = () => {
2525
const divRef = useRef<HTMLDivElement>(null);
2626

2727
useEffect(() => {

0 commit comments

Comments
 (0)