Fix wrong style width value in solid tutorial (#29688)

* Fix wrong style width value in solid tutorial

* update the line also in the code

* sync with the doc
This commit is contained in:
Vincent Fretin authored and GitHub committed 2024-10-04 14:26:40 +00:00
1 parent f9fb95abe6
commit ce724e91bb
3 files changed
+3 -3

No files matched your search

@@ -12,7 +12,7 @@ const Auth: Component = () => {
setLoading(true)
const { error } = await supabase.auth.signInWithOtp({ email: email() })
if (error) throw error
alert('Check your email for login link!')
alert('Check your email for the login link!')
} catch (error) {
if (error instanceof Error) {
alert(error.message)
@@ -61,7 +61,7 @@ const Avatar: Component<Props> = (props) => {
}
return (
<div style={{ width: props.size }} aria-live="polite">
<div style={{ width: `${props.size}px` }} aria-live="polite">
{avatarUrl() ? (
<img
src={avatarUrl()!}