Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JiashuHarryHuang committed Apr 27, 2024
1 parent 1ab4652 commit a043aa3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 4 additions & 3 deletions components/Settings/UserProfile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ export default function UserProfile({ user }: { user: QueriedUserData }) {
const { backgroundCheck } = user;

return (
<Card title="Your Profile" bordered
<Card
title="Your Profile"
bordered
style={{
// make the border more obvious using box-shadow
boxShadow: '0px 0px 10px 0px rgba(0,0,0,0.1)',
}}
>
}}>
<p>Name: {user.name}</p>
<p>Email: {user.email}</p>
<p>Phone: {user.phone}</p>
Expand Down
1 change: 0 additions & 1 deletion pages/settings.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import SettingsDashboard from '@/components/Settings/SettingsDashboard';
const SettingsPage = () => {

return (
<>
<SettingsDashboard />
Expand Down
5 changes: 2 additions & 3 deletions styles/settings.style.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import styled from "styled-components";

import styled from 'styled-components';

// a container for centering the content
export const CenteringContainer = styled.div`
Expand All @@ -8,4 +7,4 @@ export const CenteringContainer = styled.div`
justify-content: center;
align-items: center;
height: 100vh;
`;
`;

0 comments on commit a043aa3

Please sign in to comment.