Skip to content

Commit

Permalink
refactor: file name changed
Browse files Browse the repository at this point in the history
  • Loading branch information
saifulshihab committed Jan 28, 2024
1 parent e1daa67 commit 326049f
Show file tree
Hide file tree
Showing 16 changed files with 13 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/container/PostContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { postsData } from '../../data';
import { TPostView } from '../../types/post';
import { cn } from '../../utils';
import Post from '../limb/post';
import Post from '../atoms/post';

interface IProps {
postsView?: TPostView;
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/GamingPageLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PropsWithChildren } from 'react';
import Navbar from '../atoms/navbar';
import MainContentContainer from '../common';
import Navbar from '../limb/navbar';

const GamingPageLayout: React.FC<PropsWithChildren> = (props) => {
const { children } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/HomePageLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PropsWithChildren } from 'react';
import Navbar from '../atoms/navbar';
import MainContentContainer from '../common';
import Navbar from '../limb/navbar';

const HomePageLayout: React.FC<PropsWithChildren> = (props) => {
const { children } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/MarketplacePage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PropsWithChildren } from 'react';
import Navbar from '../atoms/navbar';
import MainContentContainer from '../common';
import Navbar from '../limb/navbar';

const MarketplacePageLayout: React.FC<PropsWithChildren> = (props) => {
const { children } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/ProfilePageLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PropsWithChildren } from 'react';
import Navbar from '../atoms/navbar';
import MainContentContainer from '../common';
import Navbar from '../limb/navbar';

const ProfilePageLayout: React.FC<PropsWithChildren> = (props) => {
const { children } = props;
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/WatchPageLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { PropsWithChildren } from 'react';
import Navbar from '../atoms/navbar';
import MainContentContainer from '../common';
import Navbar from '../limb/navbar';

const WatchPageLayout: React.FC<PropsWithChildren> = (props) => {
const { children } = props;
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/home/NewsFeed.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import { storiesData } from '../../../data';
import CreatePostBox from '../../atoms/post/CreatePostBox';
import Story from '../../atoms/story';
import PostContainer from '../../container/PostContainer';
import CreatePostBox from '../../limb/post/CreatePostBox';
import Story from '../../limb/story';

const NewsFeed: React.FC = () => {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { Formik } from 'formik';
import React from 'react';
import { Link } from 'react-router-dom';
import * as yup from 'yup';
import Button from '../../limb/button/Button';
import { TextInput } from '../../limb/input/TextInput';
import Button from '../../atoms/button/Button';
import { TextInput } from '../../atoms/input/TextInput';

const LoginPage: React.FC = () => {
const fieldValidationSchema = yup.object({
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/profile/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { TPostView } from '../../../types/post';
import CreatePostBox from '../../atoms/post/CreatePostBox';
import PostContainer from '../../container/PostContainer';
import CreatePostBox from '../../limb/post/CreatePostBox';

const ProfilePage: React.FC = () => {
const [postsView, setPostsView] = useState<TPostView>('listView');
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/signup/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Formik } from 'formik';
import React from 'react';
import * as yup from 'yup';
import Button from '../../limb/button/Button';
import { TextInput } from '../../limb/input/TextInput';
import Button from '../../atoms/button/Button';
import { TextInput } from '../../atoms/input/TextInput';

const RegisterPage: React.FC = () => {
const fieldValidationSchema = yup.object({
Expand Down

0 comments on commit 326049f

Please sign in to comment.