-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add ProfileModal * add BrowserViewProfile view value in constants * Update astro.config.mjs * upgrade astrojs tov5 * upgrade to v5 getEntry change signature and ViewTransition renamed to ClientRouter * update storybook to use mock ws (not working at the moment) * update menu * fix RegisterForm layout --------- Co-authored-by: Daniele Guido <1181642+danieleguido@users.noreply.github.com>
- Loading branch information
1 parent
a51cdca
commit f269ea6
Showing
21 changed files
with
1,029 additions
and
957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// src/mocks/handlers.js | ||
import { ws } from "msw" | ||
|
||
const chat = ws.link("/mock-socket.io") | ||
|
||
export const handlers = [ | ||
chat.addEventListener("connection", ({ client }) => { | ||
console.log("Client connected") | ||
client.addEventListener("message", (event) => { | ||
client.send("hello from server!") | ||
}) | ||
}), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.