Skip to content

Commit 9df5f0c

Browse files
authored
Spelling (#427)
* spelling: active Signed-off-by: Josh Soref <[email protected]> * spelling: apos Signed-off-by: Josh Soref <[email protected]> * spelling: build Signed-off-by: Josh Soref <[email protected]> * spelling: deferred Signed-off-by: Josh Soref <[email protected]> * spelling: fulfil Signed-off-by: Josh Soref <[email protected]> * spelling: manageable Signed-off-by: Josh Soref <[email protected]> * spelling: occurred Signed-off-by: Josh Soref <[email protected]> * spelling: overflow Signed-off-by: Josh Soref <[email protected]> * spelling: procedure Signed-off-by: Josh Soref <[email protected]> * spelling: repository Signed-off-by: Josh Soref <[email protected]> * spelling: settings Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Josh Soref <[email protected]>
1 parent c7d7305 commit 9df5f0c

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
**Implemented enhancements:**
88

99
- fix low hanging lint issues [\#425](https://github.com/drone/drone-ui/pull/425) ([d1wilko](https://github.com/d1wilko))
10-
- \(maint\) document the release proceedure [\#421](https://github.com/drone/drone-ui/pull/421) ([tphoney](https://github.com/tphoney))
10+
- \(maint\) document the release procedure [\#421](https://github.com/drone/drone-ui/pull/421) ([tphoney](https://github.com/tphoney))
1111

1212
**Fixed bugs:**
1313

@@ -166,7 +166,7 @@
166166

167167
**Fixed bugs:**
168168

169-
- show error and console logs for buld steps [\#387](https://github.com/drone/drone-ui/pull/387) ([d1wilko](https://github.com/d1wilko))
169+
- show error and console logs for build steps [\#387](https://github.com/drone/drone-ui/pull/387) ([d1wilko](https://github.com/d1wilko))
170170

171171
**Merged pull requests:**
172172

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator
7979

8080
You can generate a token by logging into your GitHub account and going to Settings -> Personal access tokens.
8181

82-
Next we tag the PR's with the fixes or enhancements labels. If the PR does not fufil the requirements, do not add a label.
82+
Next we tag the PR's with the fixes or enhancements labels. If the PR does not fulfil the requirements, do not add a label.
8383

8484
Run the changelog generator again with the future version according to semver.
8585

src/components/pages/build/log-view/console-manager/console-manager.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ const useLogsActionTypes = {
3737
setIsLoading: ACTION_LIST.UPDATE_ARE_LOGS_LOADING,
3838
};
3939

40-
const stepDefferedLogsStates = [
40+
const stepDeferredLogsStates = [
4141
'running',
4242
'pending',
4343
'skipped',
4444
'waiting_on_dependencies',
4545
];
4646

47-
const stageDefferedLogsStates = stepDefferedLogsStates.slice(1);
47+
const stageDeferredLogsStates = stepDeferredLogsStates.slice(1);
4848

4949
export default function LogViewConsoleManager(props) {
5050
const {
@@ -68,8 +68,8 @@ export default function LogViewConsoleManager(props) {
6868
state.compState !== STATES.STREAM_ON
6969
&& !!state.stageStatus
7070
&& !!state.stepData.status
71-
&& !stageDefferedLogsStates.includes(state.stageStatus)
72-
&& !stepDefferedLogsStates.includes(state.stepData.status),
71+
&& !stageDeferredLogsStates.includes(state.stageStatus)
72+
&& !stepDeferredLogsStates.includes(state.stepData.status),
7373
);
7474

7575
// logs stream

src/components/shared/modal/modal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Modal = ({
2828
} else {
2929
window.document.body.style.overflow = 'unset';
3030
}
31-
return () => window.document.body.style.oveflow = 'unset';
31+
return () => window.document.body.style.overflow = 'unset';
3232
}, [isShowing]);
3333
if (isShowing) {
3434
return ReactDOM.createPortal(

src/hooks/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const useStore = create((set, get) => ({
5555
}
5656

5757
// update the state of the store to indicate the
58-
// request to fetch repositorie has been fired,
58+
// request to fetch repository has been fired,
5959
// which prevents subsequent calls.
6060
set((state) => ({
6161
...state,

src/pages/build/build.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export default function Build({ user, userIsAdminOrHasWritePerm }) {
9595
}
9696
}, [data, isError, isLoading, stage]);
9797

98-
// sort individual steps card data into a managable array
98+
// sort individual steps card data into a manageable array
9999
const cardsData = data?.stages?.reduce((cardDataAcc, stageData) => {
100100
const stageCardData = stageData?.steps?.reduce((stageDataAcc, stepData) => {
101101
if (stepData.schema) {

src/pages/builds/builds.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function Builds({ repo }) {
2121
const { params: { namespace, name }, url } = useRouteMatch();
2222
const history = useHistory();
2323

24-
// if repo is inactive, redirect to settigns where
24+
// if repo is inactive, redirect to settings where
2525
// user can proceed with repo activation
2626
useLayoutEffect(() => {
2727
if (!isRepoActive) {
@@ -85,7 +85,7 @@ Builds.propTypes = {
8585

8686
Builds.defaultProps = {
8787
repo: {
88-
actice: undefined,
88+
active: undefined,
8989
counter: undefined,
9090
},
9191
};

src/pages/home/home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default function Home() {
8282
useEffect(() => {
8383
if (syncError || viewerError) {
8484
setContext({ ...context, isAccSyncing: false });
85-
showError('Sync error has occured, please, try again');
85+
showError('Sync error has occurred, please, try again');
8686
console.error('Sync error:', syncError?.message || viewerError?.message); // eslint-disable-line no-console
8787
}
8888
}, [syncError, viewerError, showError, context, setContext]);

src/pages/not-found/not-found.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function NotFound({ user }) {
1919
<NotFoundIcon />
2020
<p className={cx('note')}>
2121
<span>We are sorry, the resource you requested cannot be found.</span>
22-
<sub>That&aposs all we know.</sub>
22+
<sub>That&apos;s all we know.</sub>
2323
</p>
2424
{!user && (
2525
<Button

src/pages/welcome/welcome.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function Welcome() {
4646
} else {
4747
error = (
4848
<div className={cx('error')}>
49-
{parseQuery(search)?.message ?? 'An error occured during login attempt, please, try again'}
49+
{parseQuery(search)?.message ?? 'An error occurred during login attempt, please, try again'}
5050
</div>
5151
);
5252
}

0 commit comments

Comments
 (0)