Skip to content

Commit 66ef4a9

Browse files
committed
style: Run prettier
1 parent e29b5f3 commit 66ef4a9

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,25 @@ After that follow the steps below ->
3838
```sh
3939
git clone https://github.com/hack-as-a-service/frontend
4040
```
41+
4142
2. Change directory.
4243

4344
```sh
4445
cd frontend
4546
```
47+
4648
3. Install dependencies.
4749

4850
```sh
4951
yarn install
5052
```
53+
5154
4. Start the server.
5255

5356
```sh
5457
yarn dev
5558
```
59+
5660
Once you have completed all these steps, you should be good to go 🚀.
5761
You can make your desired changes, and create a pull request once you are done.
5862

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"nanoid": "^4.0.0",
2626
"next": "^12.1.0",
2727
"nprogress": "^0.2.0",
28+
"prettier": "^2.7.1",
2829
"pretty-bytes": "^5.6.0",
2930
"react": "^17.0.2",
3031
"react-dom": "^17.0.2",
@@ -44,7 +45,6 @@
4445
"eslint": "^7.32.0",
4546
"eslint-config-next": "^12.0.7",
4647
"html-webpack-plugin": "^5.5.0",
47-
"prettier": "^2.5.1",
4848
"typescript": "^4.5.2",
4949
"webpack": "^5.65.0",
5050
"webpack-dev-server": "4"

src/layouts/DashboardLayout.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ export default function DashboardLayout({
9494
"Content-Type": "application/json",
9595
},
9696
method: "POST",
97-
body: JSON.stringify({ slug: v.slug, name: v.name, invite: nanoid(7) }),
97+
body: JSON.stringify({
98+
slug: v.slug,
99+
name: v.name,
100+
invite: nanoid(7),
101+
}),
98102
});
99103

100104
teamModal.onClose();

src/types/haas.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface ITeam {
1111
avatar?: string;
1212
slug: string;
1313
personal: boolean;
14-
invite: string;
14+
invite: string;
1515
}
1616

1717
export interface IApp {

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -4954,7 +4954,7 @@ prelude-ls@^1.2.1:
49544954
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
49554955
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
49564956

4957-
prettier@^2.5.1:
4957+
prettier@^2.7.1:
49584958
version "2.7.1"
49594959
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"
49604960
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==

0 commit comments

Comments
 (0)