Skip to content

Commit d328968

Browse files
committed
add LoginPage component to Newsfeed
1 parent 0373117 commit d328968

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/Newsfeed/Newsfeed.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import ProfileSettingsModal from "components/EditProfilePage/ProfileSettingsModa
1717
import { NewsfeedCard } from "components/NewsfeedCard/NewsfeedCard"
1818
import { ProfileButtons } from "components/ProfilePage/ProfileButtons"
1919

20+
import LoginPage from "components/Login/login"
21+
2022
export default function Newsfeed() {
2123
const { t } = useTranslation("common")
2224

@@ -251,7 +253,8 @@ export default function Newsfeed() {
251253
</StyledContainer>
252254
</div>
253255
) : (
254-
<ErrorPage statusCode={404} withDarkMode={false} />
256+
// <ErrorPage statusCode={404} withDarkMode={false} />
257+
<LoginPage />
255258
)}
256259
</>
257260
)}

0 commit comments

Comments
 (0)