Skip to content

Commit

Permalink
fix: remove styled-components
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Jan 19, 2024
1 parent 0bcfc47 commit 124f63d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 213 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"@types/react-dom": "^17.0.11",
"@types/react-router": "^5.1.18",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.23",
"@types/webpack-env": "^1.16.3",
"@vitejs/plugin-react": "^4.2.1",
"add": "^2.0.6",
Expand Down Expand Up @@ -52,7 +51,6 @@
"react-hot-loader": "^4.13.0",
"react-router-dom": "^5.3.0",
"recoil": "^0.7.7",
"styled-components": "^5.3.3",
"vite-plugin-top-level-await": "^1.4.1"
}
}
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, {useEffect, useState} from 'react';
import {useHistory} from 'react-router-dom';
import styled from 'styled-components';
import styled from "@emotion/styled";
import {Header} from './styles/header.styles';
import {IPhoneSettings} from '@project-error/npwd-types';
import {i18n} from 'i18next';
Expand Down
4 changes: 1 addition & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import React from 'react';
import ReactDOM from 'react-dom';
import '../npwd.config';

import {BrowserRouter} from 'react-router-dom';
import styled from 'styled-components';
import styled from "@emotion/styled";
import App from './App';
import image from './bg.png';
import {NuiProvider} from 'react-fivem-hooks';
import {RecoilRoot} from 'recoil';
import {IPhoneSettings} from '@project-error/npwd-types';
import i18next from 'i18next';
Expand Down
3 changes: 1 addition & 2 deletions src/styles/header.styles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

import styled from "styled-components";
import styled from "@emotion/styled";

export const Header = styled('div')({
width: '100%',
Expand Down
Loading

0 comments on commit 124f63d

Please sign in to comment.