From f2a20f49260f529826cef34d1ac983ca6d8d8cc9 Mon Sep 17 00:00:00 2001
From: = <=>
Date: Fri, 1 Dec 2023 09:38:01 +0530
Subject: [PATCH] fix errors from app/www
---
apps/www/app/[locale]/(user)/components/Content.tsx | 2 +-
apps/www/app/[locale]/dashboard/components/in-progress.tsx | 2 +-
apps/www/app/[locale]/dashboard/components/main-nav.tsx | 2 +-
.../dataset/[id]/edit/components/DistributionList.tsx | 2 +-
.../dataset/[id]/edit/components/EditDistribution.tsx | 4 ++--
.../dashboard/dataset/[id]/edit/components/EditLayout.tsx | 2 +-
.../app/[locale]/dashboard/dataset/components/action-bar.tsx | 2 +-
.../www/app/[locale]/dashboard/dataset/components/content.tsx | 2 +-
.../[locale]/dashboard/dataset/new/components/new-dataset.tsx | 2 +-
9 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/apps/www/app/[locale]/(user)/components/Content.tsx b/apps/www/app/[locale]/(user)/components/Content.tsx
index 1a364d70..dfd90f38 100644
--- a/apps/www/app/[locale]/(user)/components/Content.tsx
+++ b/apps/www/app/[locale]/(user)/components/Content.tsx
@@ -12,7 +12,7 @@ export function Content() {
return (
<>
-
+
{t('title')}
diff --git a/apps/www/app/[locale]/dashboard/components/in-progress.tsx b/apps/www/app/[locale]/dashboard/components/in-progress.tsx
index 2e972658..2ee1f5eb 100644
--- a/apps/www/app/[locale]/dashboard/components/in-progress.tsx
+++ b/apps/www/app/[locale]/dashboard/components/in-progress.tsx
@@ -7,7 +7,7 @@ import { Icons } from '@/components/icons';
export function InProgress() {
return (
-
+
This page is currently under construction.
diff --git a/apps/www/app/[locale]/dashboard/components/main-nav.tsx b/apps/www/app/[locale]/dashboard/components/main-nav.tsx
index e3d41355..ce076ad3 100644
--- a/apps/www/app/[locale]/dashboard/components/main-nav.tsx
+++ b/apps/www/app/[locale]/dashboard/components/main-nav.tsx
@@ -22,7 +22,7 @@ export function MainNav() {
-
+
OPub
diff --git a/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/DistributionList.tsx b/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/DistributionList.tsx
index 46af9762..2fc1b955 100644
--- a/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/DistributionList.tsx
+++ b/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/DistributionList.tsx
@@ -31,7 +31,7 @@ const NoList = ({
diff --git a/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditDistribution.tsx b/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditDistribution.tsx
index c03c77f2..13766ed3 100644
--- a/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditDistribution.tsx
+++ b/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditDistribution.tsx
@@ -226,7 +226,7 @@ const FileUpload = ({
const uploadedFile = file && (
-
+
@@ -240,7 +240,7 @@ const FileUpload = ({
}
+ icon={
}
plain
accessibilityLabel="delete resource"
onClick={handleFileDelete}
diff --git a/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditLayout.tsx b/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditLayout.tsx
index 55ce3c18..49658663 100644
--- a/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditLayout.tsx
+++ b/apps/www/app/[locale]/dashboard/dataset/[id]/edit/components/EditLayout.tsx
@@ -63,7 +63,7 @@ const Header = ({ id, title }: { id: string; title?: string }) => {
-
+
Go to dataset listing page
diff --git a/apps/www/app/[locale]/dashboard/dataset/components/action-bar.tsx b/apps/www/app/[locale]/dashboard/dataset/components/action-bar.tsx
index f914d2dc..e49f8c99 100644
--- a/apps/www/app/[locale]/dashboard/dataset/components/action-bar.tsx
+++ b/apps/www/app/[locale]/dashboard/dataset/components/action-bar.tsx
@@ -33,7 +33,7 @@ export function ActionBar(props: Props) {
const isNavigating = useIsNavigating().isNavigating;
const { width }: Size = useWindowSize();
- const iconSize = width && width < 480 ? '5' : '8';
+ const iconSize = width && width < 480 ? 20 : 32;
const backButton = props.previousPage && props.previousPage?.link && (
diff --git a/apps/www/app/[locale]/dashboard/dataset/components/content.tsx b/apps/www/app/[locale]/dashboard/dataset/components/content.tsx
index cde34cdd..afcf3325 100644
--- a/apps/www/app/[locale]/dashboard/dataset/components/content.tsx
+++ b/apps/www/app/[locale]/dashboard/dataset/components/content.tsx
@@ -14,7 +14,7 @@ export function Content({ data }: { data?: any }) {
source={Icons.addDataset}
color="interactive"
stroke={1}
- size="20"
+ size={80}
/>
You have not added any datasets yet.
diff --git a/apps/www/app/[locale]/dashboard/dataset/new/components/new-dataset.tsx b/apps/www/app/[locale]/dashboard/dataset/new/components/new-dataset.tsx
index 29ca1d8c..38a42646 100644
--- a/apps/www/app/[locale]/dashboard/dataset/new/components/new-dataset.tsx
+++ b/apps/www/app/[locale]/dashboard/dataset/new/components/new-dataset.tsx
@@ -152,7 +152,7 @@ const RadioItem = ({
return (