Skip to content

Commit c166e99

Browse files
Minor fix in history explorer UI
1 parent 8bf8b0e commit c166e99

File tree

2 files changed

+4
-6
lines changed
  • frontend-history-explorer/src/components
  • frontend-journalism-app/src/Pages/Feed

2 files changed

+4
-6
lines changed

frontend-history-explorer/src/components/landing.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import { Input } from "@/components/ui/input";
44
import { Button } from "@/components/ui/button";
55
import { useState } from "react";
6-
import { useEffect } from 'react';
7-
import { withRouter } from 'next/router';
6+
import { useEffect } from "react";
7+
import { withRouter } from "next/router";
88
import copy from "clipboard-copy";
99
import axios from "axios";
1010

@@ -84,7 +84,7 @@ export function Landing({ props }) {
8484
</p>
8585
<p className="text-gray-600">{item.uuid}</p>
8686
<button
87-
className="cursor-copy text-white hover:text-slate-100 bg-gray-100 dark:bg-gray-800 dark:text-gray-200 px-2 py-1 rounded-md"
87+
className="cursor-copy text-white hover:text-slate-100 bg-gray-100 dark:bg-gray-800 dark:text-gray-200 px-2 py-3 rounded-md"
8888
onClick={() => {
8989
copy(item.proof);
9090
}}
@@ -144,4 +144,4 @@ function ArrowDownIcon(props) {
144144
);
145145
}
146146

147-
export default withRouter(Landing);
147+
export default withRouter(Landing);

frontend-journalism-app/src/Pages/Feed/Feed.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ const Feed = () => {
4949
}
5050
);
5151

52-
console.log(data.contentState[data.contentState.length - 1]);
53-
5452
setFetchedPost({
5553
title: "Latest Image",
5654
content: "From Pixel Police Mobile App",

0 commit comments

Comments
 (0)