]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/app/app.tsx
Fix: missing semantic css classes and html elements (#1583)
[lemmy-ui.git] / src / shared / components / app / app.tsx
index 08ba40e844e5e874e45f9183b30dcafeaca31d07..be0319dbce5f9f7db92f24ed88873a60f8364143 100644 (file)
@@ -59,7 +59,7 @@ export class App extends Component<any, any> {
 
                         return (
                           <ErrorGuard>
-                            <main tabIndex={-1} ref={this.mainContentRef}>
+                            <div tabIndex={-1}>
                               {RouteComponent &&
                                 (isAuthPath(path ?? "") ? (
                                   <AuthGuard>
@@ -68,7 +68,7 @@ export class App extends Component<any, any> {
                                 ) : (
                                   <RouteComponent {...routeProps} />
                                 ))}
-                            </main>
+                            </div>
                           </ErrorGuard>
                         );
                       }}