chore: remove useless comments

This commit is contained in:
Mathieu Schimmerling
2024-10-27 14:08:38 +01:00
parent 62674262ce
commit d670ca97a7
6 changed files with 1 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
<let/user = { // In a real app, you would fetch the user data from an API
<let/user = {
id: 1,
username: "unicorn42",
email: "unicorn42@example.com",

View File

@@ -2,7 +2,6 @@ import m from "mithril";
import UserProfile from "./UserProfile";
export default function App() {
// In a real app, you would fetch the user data from an API
const user = {
id: 1,
username: "unicorn42",

View File

@@ -3,7 +3,6 @@ import UserProfile from "./UserProfile";
import { UserContext } from "./UserContext";
export default function App() {
// In a real app, you would fetch the user data from an API
const [user, setUser] = useState({
id: 1,
username: "unicorn42",

View File

@@ -4,7 +4,6 @@ import { UserContext } from "./UserContext";
import UserProfile from "./UserProfile";
export default function App() {
// In a real app, you would fetch the user data from an API
const [user, setUser] = createSignal({
id: 1,
username: "unicorn42",

View File

@@ -3,7 +3,6 @@
import UserProfile from "./UserProfile.svelte";
import createUserStore from "./createUserStore.js";
// In a real app, you would fetch the user data from an API
const userStore = createUserStore({
id: 1,
username: "unicorn42",

View File

@@ -3,7 +3,6 @@
import UserProfile from "./UserProfile.svelte";
import createUserState from "./createUserState.svelte.js";
// In a real app, you would fetch the user data from an API
const user = createUserState({
id: 1,
username: "unicorn42",