mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 16:04:23 +00:00
Refactor type definitions in AuthenticatedContent and App components
This commit is contained in:
@@ -11,7 +11,7 @@ import '@mantine/core/styles.css';
|
||||
import '@mantine/notifications/styles.css';
|
||||
import './App.scss';
|
||||
|
||||
interface AuthenticatedContentProps {}
|
||||
type AuthenticatedContentProps = object;
|
||||
|
||||
const AuthenticatedContent: React.FC<AuthenticatedContentProps> = () => {
|
||||
const { user, loading, initialized } = useAuth();
|
||||
@@ -37,7 +37,7 @@ const AuthenticatedContent: React.FC<AuthenticatedContentProps> = () => {
|
||||
);
|
||||
};
|
||||
|
||||
interface AppProps {}
|
||||
type AppProps = object;
|
||||
|
||||
const App: React.FC<AppProps> = () => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user