Skip to content

Commit

Permalink
change html title name
Browse files Browse the repository at this point in the history
* change prettier settings
* format files
* change name in package file
* change version in package file
  • Loading branch information
Liknox committed Jun 10, 2023
1 parent 275ba05 commit 45fa602
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"printWidth": 500,
"printWidth": 150,
"tabWidth": 4,
"useTabs": true,
"semi": false,
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="src/assets/favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>GitHub Finder</title>
</head>
<body>
<div id="root"></div>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "github-finder-project",
"name": "github-finder",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"start": "vite",
Expand Down
3 changes: 1 addition & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { IGithubError, ILocalUser, IUser } from "./types"
const BASE_URL = "https://api.github.com/users/"

function App() {
console.log("render")
const initialUser: ILocalUser = (getItemFromLocalStorage("user") as ILocalUser) || defaultUser
const [user, setUser] = useState<ILocalUser | null>(initialUser)

Expand Down Expand Up @@ -44,7 +43,7 @@ function App() {

const handleReset = () => {
setUser(defaultUser)
localStorage.removeItem("user")
localStorage.removeItem("user")
}

return (
Expand Down

1 comment on commit 45fa602

@vercel
Copy link

@vercel vercel bot commented on 45fa602 Jun 10, 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:

github-finder – ./

github-finder-liknox.vercel.app
github-finder-git-master-liknox.vercel.app

Please sign in to comment.