Skip to content

Commit

Permalink
Run Prettier on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Mar 17, 2024
1 parent f5b39ef commit 8cdf829
Show file tree
Hide file tree
Showing 17 changed files with 28 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .yarn/releases/yarn-4.1.0.cjs

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/introduction/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ Here are some suggestions on when it makes sense to use Redux:
>
> - **[Redux FAQ: When should I use Redux?](../faq/General.md#when-should-i-use-redux)**
> - **[You Might Not Need Redux](https://medium.com/@dan_abramov/you-might-not-need-redux-be46360cf367)**
>
> - **[The Tao of Redux, Part 1 - Implementation and Intent](https://blog.isquaredsoftware.com/2017/05/idiomatic-redux-tao-of-redux-part-1/)**
>
> - **[The Tao of Redux, Part 2 - Practice and Philosophy](https://blog.isquaredsoftware.com/2017/05/idiomatic-redux-tao-of-redux-part-2/)**
> - **[Redux FAQ](../FAQ.md)**
2 changes: 1 addition & 1 deletion examples/async/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/counter-ts/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
4 changes: 3 additions & 1 deletion examples/counter-ts/src/features/counter/Counter.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@
left: 0;
top: 0;
opacity: 0;
transition: width 1s linear, opacity 0.5s ease 1s;
transition:
width 1s linear,
opacity 0.5s ease 1s;
}

.asyncButton:active:after {
Expand Down
2 changes: 1 addition & 1 deletion examples/counter-vanilla/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>Redux basic example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/counter/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
4 changes: 3 additions & 1 deletion examples/counter/src/features/counter/Counter.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
left: 0;
top: 0;
opacity: 0;
transition: width 1s linear, opacity 0.5s ease 1s;
transition:
width 1s linear,
opacity 0.5s ease 1s;
}

.asyncButton:active:after {
Expand Down
2 changes: 1 addition & 1 deletion examples/real-world/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/shopping-cart/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/todomvc/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/todos-with-undo/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/todos/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion examples/tree-view/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
6 changes: 3 additions & 3 deletions src/types/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface Middleware<
S = any,
D extends Dispatch = Dispatch
> {
(api: MiddlewareAPI<D, S>): (
next: (action: unknown) => unknown
) => (action: unknown) => unknown
(
api: MiddlewareAPI<D, S>
): (next: (action: unknown) => unknown) => (action: unknown) => unknown
}
5 changes: 2 additions & 3 deletions src/types/reducers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ export type ReducerFromReducersMapObject<M> = M[keyof M] extends
*
* @template R Type of reducer.
*/
export type ActionFromReducer<R> = R extends Reducer<any, infer A, any>
? A
: never
export type ActionFromReducer<R> =
R extends Reducer<any, infer A, any> ? A : never

/**
* Infer action union type from a `ReducersMapObject`.
Expand Down
8 changes: 6 additions & 2 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,16 @@ a:visited {
transform: rotateZ(180deg);
-webkit-transition: -webkit-transform 0.2s linear;
transition: -webkit-transform 0.2s linear;
transition-property: transform, -webkit-transform;
transition-property:
transform,
-webkit-transform;
transition-duration: 0.2s, 0.2s;
transition-timing-function: linear, linear;
transition-delay: 0s, 0s;
transition: transform 0.2s linear;
transition: transform 0.2s linear, -webkit-transform 0.2s linear;
transition:
transform 0.2s linear,
-webkit-transform 0.2s linear;
}

.menu .menu__list-item.menu__list-item--collapsed .menu__link--sublist:after {
Expand Down

0 comments on commit 8cdf829

Please sign in to comment.