Skip to content

Commit

Permalink
feat: wp
Browse files Browse the repository at this point in the history
  • Loading branch information
BLuEScioN committed Oct 28, 2024
1 parent fdcf525 commit c380c4e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/app/_components/time-filter/DatePickerRangeInput.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import { UTCDate } from '@date-fns/utc';
import { Field, FieldProps, Form, Formik } from 'formik';
import DatePicker from 'react-datepicker';
import 'react-datepicker/dist/react-datepicker.css';

import { Box } from '../../../ui/Box';
import { Button } from '../../../ui/Button';
import { FormControl } from '../../../ui/FormControl';
import { FormLabel } from '../../../ui/FormLabel';
import { Stack } from '../../../ui/Stack';
import { DateInput } from './DateInput';
import 'react-datepicker/dist/react-datepicker.css'


type DateValue = number | undefined;

Expand Down
7 changes: 2 additions & 5 deletions src/app/block/[hash]/PageClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,11 @@ export default function BlockPage({ params: { hash } }: any) {
label={'Transactions'}
value={<Value>{block.txs.length}</Value>}
/>
<KeyValueHorizontal // TODO: Get from the API when the new signers endpoints are available
<KeyValueHorizontal // TODO: Get from the API when the new signers endpoints are available
label={'Signer Latency'}
value={<Value>5 ms</Value>}
/>
<KeyValueHorizontal
label={'Signer Voting'}
value={<Value>5/5/5</Value>}
/>
<KeyValueHorizontal label={'Signer Voting'} value={<Value>5/5/5</Value>} />
{!block.canonical ? (
<KeyValueHorizontal
label={'Canonical'}
Expand Down
2 changes: 1 addition & 1 deletion src/app/search/filters/Date.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function FilterTypeButton({
const purpleBadgeColor = useColorModeValue('purple.600', 'purple.300');
const purpleBadgeBg = useColorModeValue('purple.100', 'purple.900');
const badgeBorder = useColorModeValue('purple.300', 'purple.700');

return (
<Badge
color={isSelected ? purpleBadgeColor : 'textSubdued'}
Expand Down
2 changes: 1 addition & 1 deletion src/common/components/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function Section({
px={6}
py={4}
mx={-px}
direction={['column', 'column','row']}
direction={['column', 'column', 'row']}
gap={4}
flexWrap="nowrap"
>
Expand Down

0 comments on commit c380c4e

Please sign in to comment.