mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-11 09:32:51 +00:00
client - add services
This commit is contained in:
21
client/app/pages/user-account/user-account.tsx
Normal file
21
client/app/pages/user-account/user-account.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import React from 'react';
|
||||
import { RouteComponentProps } from 'react-router-dom';
|
||||
import { ContentContainer } from '../../components';
|
||||
import { UserService } from '../../services';
|
||||
|
||||
interface Props extends RouteComponentProps<any> {}
|
||||
|
||||
interface State {}
|
||||
|
||||
export class UserAccount extends React.Component<Props, State> {
|
||||
|
||||
componentDidMount() {
|
||||
console.log(UserService.getUser());
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<ContentContainer></ContentContainer>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user