Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoni authored Dec 14, 2023
1 parent 81293b9 commit 4dd3baa
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pages/[org]/[dataset]/r/[resource]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ const Resource: React.FC<{ variables: any }> = ({ variables }) => {
);

if (!resource) return <FourOhFour></FourOhFour>;


fixTranslations(result);
fixTranslations(result.organization);
fixTranslations(resource);
// fixTranslations(result);
// fixTranslations(result.organization);
// fixTranslations(resource);

if (!resource)
return <ErrorMessage message="Error loading data"></ErrorMessage>;
// if (!resource)
// return <ErrorMessage message="Error loading data"></ErrorMessage>;

return (
<>
Expand Down

0 comments on commit 4dd3baa

Please sign in to comment.