Skip to content

Commit 35e128c

Browse files
committed
docs: minor lint fix on self-closing tags.
1 parent 5af645b commit 35e128c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/components/examples/use-local-storage/use-local-storage.code.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function UseLocalStorageExample() {
3434
function Key(props: FlowProps<{ activated: boolean; onClick: () => void }>) {
3535
return (
3636
<button onClick={props.onClick} class="relative text-xs">
37-
<div class="absolute inset-0 rounded-md bg-neutral-200 transition"></div>
37+
<div class="absolute inset-0 rounded-md bg-neutral-200 transition" />
3838
<div
3939
class="relative transform rounded-md border bg-neutral-50 px-2 py-1.5 transition-transform"
4040
style={{

dev/components/examples/use-local-storage/use-local-storage.example.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function UseLocalStorageExample() {
5454
function Key(props: FlowProps<{ activated: boolean; onClick: () => void }>) {
5555
return (
5656
<button onClick={props.onClick} class="relative text-xs">
57-
<div class="absolute inset-0 rounded-md bg-neutral-200 transition"></div>
57+
<div class="absolute inset-0 rounded-md bg-neutral-200 transition" />
5858
<div
5959
class="relative transform rounded-md border bg-neutral-50 px-2 py-1.5 transition-transform"
6060
style={{

0 commit comments

Comments
 (0)