Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 78e4cba

Browse files
authored
fix: Add application view (#50)
* fix: export pages * fix: add application view * fix last edited
1 parent f6bb2f3 commit 78e4cba

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

src/components/project/components/ProjectSummary/ProjectSummary.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const ProjectSummary: React.FC<ProjectSummaryProps> = ({ projectMetadata
1414

1515
const appliedOnLabel = `Applied on: ${new Date(createdAt).toLocaleString()}`;
1616
const lastEditedLabel = `Last edited: ${new Date(
17-
lastUpdated.toString() == "0" ? lastUpdated : createdAt,
17+
lastUpdated.toString() !== "0" ? lastUpdated : createdAt,
1818
).toLocaleString()}`;
1919

2020
return (
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { CheckerProvider } from "~checker/store";
2+
3+
import {
4+
ViewApplicationEvaluationsPage,
5+
type ViewApplicationEvaluationsPageProps,
6+
} from "./pages/ViewApplicationEvaluationsPage/ViewApplicationEvaluationsPage";
7+
8+
export const ApplicationView: React.FC<ViewApplicationEvaluationsPageProps> = (props) => {
9+
return (
10+
<CheckerProvider>
11+
<ViewApplicationEvaluationsPage {...props} />
12+
</CheckerProvider>
13+
);
14+
};

src/features/checker/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export * from "./Checker";
2-
export * from "./pages";
2+
export * from "./ApplicationView"

0 commit comments

Comments
 (0)