Merge remote-tracking branch 'origin/main' into v2-ui
This commit is contained in:
commit
3e97c67b24
|
@ -5,10 +5,9 @@ const SelectFloorPlan: React.FC = () => {
|
||||||
const { currentLayout, setLayout } = useLayoutStore();
|
const { currentLayout, setLayout } = useLayoutStore();
|
||||||
return (
|
return (
|
||||||
<div className="select-floorplane-wrapper">
|
<div className="select-floorplane-wrapper">
|
||||||
Don't have an idea? Use these presets!
|
Preset Layouts
|
||||||
<div className="presets-container">
|
<div className="presets-container">
|
||||||
<button
|
<button
|
||||||
id="preset-1"
|
|
||||||
className={`preset ${currentLayout === "layout1" ? "active" : ""}`}
|
className={`preset ${currentLayout === "layout1" ? "active" : ""}`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setLayout("layout1");
|
setLayout("layout1");
|
||||||
|
@ -17,7 +16,6 @@ const SelectFloorPlan: React.FC = () => {
|
||||||
Preset 1
|
Preset 1
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
id="preset-2"
|
|
||||||
className={`preset ${currentLayout === "layout2" ? "active" : ""}`}
|
className={`preset ${currentLayout === "layout2" ? "active" : ""}`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setLayout("layout2");
|
setLayout("layout2");
|
||||||
|
|
Loading…
Reference in New Issue