Merge pull request #19 from urbit/dd/typos

copy: fixed appearance and notification typos
This commit is contained in:
james acklin 2022-12-07 15:11:12 -05:00 committed by GitHub
commit 099674bcdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -168,7 +168,7 @@ export const Leap = React.forwardRef(
case matchSystemPrefs('privacy'):
return 'My Urbit: Attention & Privacy';
case matchSystemPrefs('appearance'):
return 'My Urbit: Apperance';
return 'My Urbit: Appearance';
case matchSystemPrefs('shortcuts'):
return 'My Urbit: Shortcuts';
case matchSystemPrefs('interface'):

View File

@ -11,12 +11,12 @@ interface RadioOptionProps {
selected: boolean;
}
interface ApperanceOption {
interface AppearanceOption {
value: prefType;
label: string;
}
const apperanceOptions: ApperanceOption[] = [
const appearanceOptions: AppearanceOption[] = [
{ value: 'auto', label: 'System Theme' },
{ value: 'light', label: 'Light' },
{ value: 'dark', label: 'Dark' }
@ -57,13 +57,13 @@ export const AppearancePrefs = () => {
return (
<div className="inner-section space-y-8">
<h2 className="h4">Landscape Apperance</h2>
<h2 className="h4">Landscape Appearance</h2>
<RadioGroup.Root
className="flex flex-col space-y-3"
value={pref}
onValueChange={handleChange}
>
{apperanceOptions.map((option) => (
{appearanceOptions.map((option) => (
<RadioOption
key={`radio-option-${option.value}`}
value={option.value}

View File

@ -61,7 +61,7 @@ export const NotificationPrefs = () => {
{!secure && (
<>
<strong className="text-orange-500">
Unavailable with this browser/connection.
{" Unavailable with this browser/connection."}
</strong>
</>
)}

View File

@ -12,7 +12,7 @@ import { NotificationPrefs } from './NotificationPrefs';
import { AboutSystem } from './about-system/AboutSystem';
import { InterfacePrefs } from './InterfacePrefs';
import { SecurityPrefs } from './SecurityPrefs';
import { AppearancePrefs } from './ApperancePrefs';
import { AppearancePrefs } from './AppearancePrefs';
import { useCharges } from '../state/docket';
import { AppPrefs } from './AppPrefs';
import { StoragePrefs } from './StoragePrefs';