Skip to content

Commit

Permalink
Clean up file path and import (#1250)
Browse files Browse the repository at this point in the history
* Clean up file path and import

* lint fixed

---------

Co-authored-by: Priyankar Pal <[email protected]>
  • Loading branch information
Angra974 and priyankarpal authored Oct 6, 2023
1 parent 877f775 commit 905694b
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'App.css';
import './App.css';
import { Outlet } from 'react-router-dom';

function App() {
Expand Down
8 changes: 5 additions & 3 deletions src/common/home/Sponsors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ const Sponsors = () => {
<h3>Event Partners</h3>
<div className="content">
<div className="partners-sponsors-grid">
{eventPartners.map((p) => (
{eventPartners.map((p, index) => (
<a
className="partners-sponsors-grid-item"
href={p.website}
key={index}
rel="noreferrer"
target="_blank"
>
Expand All @@ -72,10 +73,11 @@ const Sponsors = () => {
<h3>Event Sponsors</h3>
<div className="content">
<div className="partners-sponsors-grid">
{eventSponsors.map((s) => (
{eventSponsors.map((s, index) => (
<a
className="partners-sponsors-grid-item"
href={s.website}
key={index}
rel="noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -142,7 +144,7 @@ const Sponsors = () => {
alignItems: 'center'
}}
>
{/* {primeSponsors.map((p) => (
{/* {primeSponsors.map((p,index) => (
<a className="prime-sponsors-grid-item" rel="noreferrer" target="_blank">
abcd
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import RouteDefs from 'common/routing/RouteDefs';
import { SearchContextProvider } from 'common/search/search-context';
import 'index.css';
import './index.css';
import React, { useState } from 'react';
import { createRoot } from 'react-dom/client';
import reportWebVitals from 'reportWebVitals';
import reportWebVitals from './reportWebVitals';
import register from './registerServiceWorker';
import ErrorBoundry from './ErrorBoundary/ErrorBoundary';
import Notification from 'common/components/Notification';
Expand Down
2 changes: 1 addition & 1 deletion src/plays/github-user-finder/components/ProfileCard.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { useResultContext } from '../context/ResultContext';
import { formatDate } from '../../../common/utils/commonUtils';
import { formatDate } from 'common/utils/commonUtils';

const ProfileCard = () => {
const { results } = useResultContext();
Expand Down
2 changes: 1 addition & 1 deletion src/plays/personal-profile-card/PersonalProfileCard.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import PlayHeader from 'common/playlists/PlayHeader';
import React, { useState, ChangeEvent, useEffect } from 'react';

import useLocalStorage from '../../common/hooks/useLocalStorage';
import useLocalStorage from 'common/hooks/useLocalStorage';
import ProfileType from './types';
import ProfileCard from './components/profile-card';
import ProfileForm from './components/profile-form';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useEffect, useRef } from 'react';
import { FaQuoteLeft } from 'react-icons/fa';
import data from '../data';

const CardContainer = ({
gradientColor,
quote,
Expand Down
2 changes: 1 addition & 1 deletion src/plays/video-preview/Card.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { formatDurationCount, formatViewCount } from '../../common/utils/formatCount';
import { formatDurationCount, formatViewCount } from 'common/utils/formatCount';
import { GoVerified } from 'react-icons/go';
import { VERIFIED_CHANNEL } from './utils/constants';

Expand Down

1 comment on commit 905694b

@vercel
Copy link

@vercel vercel bot commented on 905694b Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-play – ./

reactoplay.vercel.app
react-play-git-main-reactplayio.vercel.app
react-play-reactplayio.vercel.app

Please sign in to comment.