Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed all the errors #108

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

daniyaralpiyev
Copy link

Исправил все ошибки и все пустые строки и пробелы и сделал форматирование

private readonly userSubject$: BehaviorSubject<IUserRole | null> = new BehaviorSubject<IUserRole | null>(null);
public readonly user$: Observable<IUserRole | null> = this.userSubject$.asObservable();

constructor(private router: Router) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

инжетирование зависимостей сделайте с помощью inject

users: [],
};

export const usersReducers = createReducer(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

у вас один reducer, нужно просто usersReducer без множественного числа

public readonly user$: Observable<IUserRole | null> = this.userSubject$.asObservable();

constructor() {
this.router

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем этот код? удалите

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants