feat(client): remove extra types in learn layout (#50945)

This commit is contained in:
Muhammed Mustafa
2023-07-11 09:51:53 -05:00
committed by GitHub
parent 065269172c
commit 83586e45b5
-6
View File
@@ -18,10 +18,6 @@ type FetchState = {
errored: boolean;
};
type User = {
acceptedPrivacyTerms: boolean;
};
const mapStateToProps = createSelector(
userFetchStateSelector,
(fetchState: FetchState) => ({
@@ -34,9 +30,7 @@ const mapDispatchToProps = {
};
type LearnLayoutProps = {
isSignedIn?: boolean;
fetchState: FetchState;
user: User;
tryToShowDonationModal: () => void;
children?: React.ReactNode;
hasEditableBoundaries?: boolean;