Skip to content

Commit

Permalink
file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Nowak committed Nov 9, 2023
1 parent 1fda0e8 commit 5737c52
Showing 3 changed files with 5 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$ } from "@builder.io/qwik";

export const Orderbook = component$(() => {
return <div></div>;
return <div>orderbook</div>;
});
5 changes: 4 additions & 1 deletion src/routes/exchange/[market]/index.tsx
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ import ChartSvg from "~/media/icons/dark_theme/chart.svg?jsx";
import OrderbookSvg from "~/media/icons/dark_theme/orderbook.svg?jsx";
import PositionsSvg from "~/media/icons/dark_theme/positions.svg?jsx";
import TradesSvg from "~/media/icons/dark_theme/trades.svg?jsx";
import { Orderbook } from "~/components/exchange/orderbook";

export const onRequest: RequestHandler = ({ params, redirect, sharedMap }) => {
try {
@@ -93,7 +94,9 @@ export default component$(() => {
<div class={mainPosition}>
<div class={chartOrderbook}>
<div class={chart}></div>
<div class={orderbook}></div>
<div class={orderbook}>
<Orderbook />
</div>
</div>
<div class={position}></div>
</div>

0 comments on commit 5737c52

Please sign in to comment.