mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 04:59:02 +08:00
chore: remove useless comments
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user