Skip to content

Commit 1ec87f0

Browse files
ckdUndivided-Carl
andauthored
copyedits (#232)
* fix case * fix typos * fix css class names --------- Co-authored-by: Carl Downing <[email protected]>
1 parent 554121a commit 1ec87f0

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

ui/src/components/ActionBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export default function Actionbar({
151151
<Button
152152
size="XS"
153153
theme="light"
154-
text="Wake on Lan"
154+
text="Wake on LAN"
155155
onClick={() => {
156156
setDisableFocusTrap(true);
157157
}}

ui/src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function DashboardNavbar({
4242
if (!res.ok) return;
4343

4444
setUser(null);
45-
// The root route will redirect to appropiate login page, be it the local one or the cloud one
45+
// The root route will redirect to appropriate login page, be it the local one or the cloud one
4646
navigate("/");
4747
}, [navigate, setUser]);
4848

ui/src/components/KvmCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function getRelativeTimeString(date: Date | number, lang = navigator.language):
1212
// Get the amount of seconds between the given date and now
1313
const deltaSeconds = Math.round((timeMs - Date.now()) / 1000);
1414

15-
// Array reprsenting one minute, hour, day, week, month, etc in seconds
15+
// Array representing one minute, hour, day, week, month, etc in seconds
1616
const cutoffs = [60, 3600, 86400, 86400 * 7, 86400 * 30, 86400 * 365, Infinity];
1717

1818
// Array equivalent to the above but in the string representation of the units
@@ -52,7 +52,7 @@ export default function KvmCard({
5252
return (
5353
<Card>
5454
<div className="px-5 py-5 space-y-3">
55-
<div className="flex justify-between items-cente">
55+
<div className="flex justify-between items-center">
5656
<div className="space-y-1.5">
5757
<div className="text-lg font-bold leading-none text-black dark:text-white">
5858
{title}

ui/src/components/USBStateStatus.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function USBStateStatus({
6868
};
6969
const props = StatusCardProps[state];
7070
if (!props) {
71-
console.log("Unsupport USB state: ", state);
71+
console.log("Unsupported USB state: ", state);
7272
return;
7373
}
7474

ui/src/providers/FeatureFlagProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const FeatureFlagProvider = ({
2222
}) => {
2323
const isFeatureEnabled = (minAppVersion: string) => {
2424
// If no version is set, feature is disabled.
25-
// The feature flag component can deside what to display as a fallback - either omit the component or like a "please upgrade to enable".
25+
// The feature flag component can decide what to display as a fallback - either omit the component or like a "please upgrade to enable".
2626
if (!appVersion) return false;
2727

2828
// Extract the base versions without prerelease identifier

ui/src/routes/devices.$id.mount.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function Dialog({ onClose }: { onClose: () => void }) {
121121
triggerError(err instanceof Error ? err.message : String(err));
122122
})
123123
.finally(() => {
124-
// We do this beacues the mounting is too fast and the UI gets choppy
124+
// We do this because the mounting is too fast and the UI gets choppy
125125
// and the modal exit animation for like 500ms
126126
setTimeout(() => {
127127
setMountInProgress(false);
@@ -283,7 +283,7 @@ function ModeSelectionView({
283283

284284
return (
285285
<div className="w-full space-y-4">
286-
<div className="asnimate-fadeIn space-y-0">
286+
<div className="animate-fadeIn space-y-0">
287287
<h2 className="text-lg font-bold leading-tight dark:text-white">
288288
Virtual Media Source
289289
</h2>

0 commit comments

Comments
 (0)