Skip to content

Commit f04d0f0

Browse files
authored
Merge pull request #281 from CivicDataLab/dev
Update main with dev
2 parents b2ae124 + 5d123be commit f04d0f0

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

app/[locale]/(user)/about-us/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const About = () => {
3535
</div>
3636
<div className="mt-4 lg:mt-10">
3737
<Image
38-
src="/illus.svg"
38+
src="/illus.png"
3939
alt="about"
4040
width={1000}
4141
height={1000}

app/[locale]/(user)/usecases/[useCaseSlug]/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const UseCasedetails: any = graphql(`
2323
title
2424
summary
2525
created
26+
startedOn
2627
isIndividualUsecase
2728
user {
2829
fullName

app/[locale]/(user)/usecases/components/Details.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const PrimaryDetails = ({ data, isLoading }: { data: any; isLoading: any }) => {
6767
width={100}
6868
height={100}
6969
className="h-full w-full"
70+
unoptimized
7071
/>
7172
</div>
7273
<div className=" lg:pr-4">

app/[locale]/(user)/usecases/components/Metadata.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ const Metadata = ({ data, setOpen }: { data: any; setOpen?: any }) => {
5050
{data.useCase.isIndividualUsecase ? 'Publisher' : 'Organization'}
5151
</Link>
5252
),
53-
5453
},
5554
{
5655
label: 'Platform URL',
@@ -71,8 +70,8 @@ const Metadata = ({ data, setOpen }: { data: any; setOpen?: any }) => {
7170
},
7271
{
7372
label: 'Started On',
74-
value: formatDate(data.useCase.created) || 'N/A',
75-
tooltipContent: formatDate(data.useCase.created) || 'N/A',
73+
value: formatDate(data.useCase.startedOn) || 'N/A',
74+
tooltipContent: formatDate(data.useCase.startedOn) || 'N/A',
7675
},
7776
{
7877
label: 'Status',

app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/details/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const Details = () => {
7171
const router = useRouter();
7272

7373
const UseCaseData: { data: any; isLoading: boolean; refetch: any } = useQuery(
74-
[`fetch_UseCaseData`],
74+
[`fetch_UseCaseData_details`],
7575
() =>
7676
GraphQL(
7777
FetchUseCase,

public/illus.png

99.8 KB
Loading

0 commit comments

Comments
 (0)