Skip to content

Commit

Permalink
Minor name changes to match the convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
TPReal committed Oct 30, 2023
1 parent bc53eec commit 12c089f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/ui/Email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ interface Props extends htmlAttributes.div {
}

/** A component for displaying a copiable email address. No mailto. */
export const Email: VoidComponent<Props> = (props) => {
const [_localProps, divProps] = splitProps(props, ["email"]);
export const Email: VoidComponent<Props> = (allProps) => {
const [props, divProps] = splitProps(allProps, ["email"]);
return (
<div {...htmlAttributes.merge(divProps, {class: "flex"})}>
<Show when={props.email} fallback={EMPTY_VALUE_SYMBOL}>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/features/root/layout/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Navbar: VoidComponent = () => {
</Show>
<Show when={DEV}>
<NavigationSection
title="Dev"
title="DEV"
items={[{icon: RiDevelopmentCodeBoxLine, href: "/test-page", children: "/test-page"}]}
/>
</Show>
Expand Down

0 comments on commit 12c089f

Please sign in to comment.