<commit_before>import React from 'react';
import { Route, Link } from 'react-router-dom';
import Helmet from 'react-helmet';

import { Box } from '@tlon/indigo-react';

import { Profile } from './components/Profile';

export default function ProfileScreen(props: any) {
  return (
    <>
    <Helmet defer={false}>
      <title>{ props.notificationsCount ? `(${String(props.notificationsCount) }) `: '' }Landscape - Profile</title>
    </Helmet>
    <Route
      path={'/~profile/:ship/:edit?'}
      render={({ match }) => {
        const ship = match.params.ship;
        const isEdit = match.url.includes('edit');
        const isPublic = props.isContactPublic;
        const contact = props.contacts?.[ship];

        return (
          <Box height="100%" px={[0, 3]} pb={[0, 3]} borderRadius={1}>
            <Box
              height="100%"
              width="100%"
              borderRadius={1}
              bg="white"
              border={1}
              borderColor="washedGray"
              overflowY="auto"
              flexGrow
            >
              <Box>
                <Profile
                  ship={ship}
                  hasLoaded={Object.keys(props.contacts).length !== 0}
                  associations={props.associations}
                  groups={props.groups}
                  contact={contact}
                  api={props.api}
                  s3={props.s3}
                  isEdit={isEdit}
                  isPublic={isPublic}
                  nackedContacts={props.nackedContacts}
                />
              </Box>
            </Box>
          </Box>
        );
      }}
    />
    </>
  );
}<commit_msg>profile: round corners of view<commit_after>import React from 'react';
import { Route, Link } from 'react-router-dom';
import Helmet from 'react-helmet';

import { Box } from '@tlon/indigo-react';

import { Profile } from './components/Profile';

export default function ProfileScreen(props: any) {
  return (
    <>
      <Helmet defer={false}>
        <title>
          {props.notificationsCount
            ? `(${String(props.notificationsCount)}) `
            : ''}
          Landscape - Profile
        </title>
      </Helmet>
      <Route
        path={'/~profile/:ship/:edit?'}
        render={({ match }) => {
          const ship = match.params.ship;
          const isEdit = match.url.includes('edit');
          const isPublic = props.isContactPublic;
          const contact = props.contacts?.[ship];

          return (
            <Box height='100%' px={[0, 3]} pb={[0, 3]} borderRadius={2}>
              <Box
                height='100%'
                width='100%'
                borderRadius={2}
                bg='white'
                border={1}
                borderColor='washedGray'
                overflowY='auto'
                flexGrow
              >
                <Box>
                  <Profile
                    ship={ship}
                    hasLoaded={Object.keys(props.contacts).length !== 0}
                    associations={props.associations}
                    groups={props.groups}
                    contact={contact}
                    api={props.api}
                    s3={props.s3}
                    isEdit={isEdit}
                    isPublic={isPublic}
                    nackedContacts={props.nackedContacts}
                  />
                </Box>
              </Box>
            </Box>
          );
        }}
      />
    </>
  );
}
{'fraction_non_alphanumeric': 0.1340057636887608, 'fraction_numerical': 0.01095100864553314, 'mean_word_length': 1.3676671214188267, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6606683', 'n_tokens_mistral': 969, 'n_tokens_neox': 911, 'n_words': 173}