File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 11import { Select } from "@mantine/core" ;
2- import { getParametersStore , useParametersContext } from "../../stores/parameters" ;
2+ import {
3+ getParametersStore ,
4+ useParametersContext ,
5+ } from "../../stores/parameters" ;
36import { SkylineBaseShape } from "../../three/types" ;
47import { capitalize } from "../../utils" ;
58
69export function BaseShapeInput ( ) {
7- const DEFAULT_VALUE = getParametersStore ( ) . getInitialState ( ) . inputs . shape ;
10+ const DEFAULT_VALUE = getParametersStore ( ) . getInitialState ( ) . inputs . shape ;
811 const setInputs = useParametersContext ( ( state ) => state . setInputs ) ;
912 return (
1013 < Select
Original file line number Diff line number Diff line change 11import { Select } from "@mantine/core" ;
2- import { getParametersStore , useParametersContext } from "../../stores/parameters" ;
2+ import {
3+ getParametersStore ,
4+ useParametersContext ,
5+ } from "../../stores/parameters" ;
36import { ExportFormat } from "../../three/export" ;
47
58export function ExportFormatInput ( ) {
6- const DEFAULT_VALUE = getParametersStore ( ) . getInitialState ( ) . inputs . exportFormat ;
9+ const DEFAULT_VALUE =
10+ getParametersStore ( ) . getInitialState ( ) . inputs . exportFormat ;
711 const setInputs = useParametersContext ( ( state ) => state . setInputs ) ;
812 return (
913 < Select
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ import { createFileRoute, redirect } from "@tanstack/react-router";
22import { useRef } from "react" ;
33import { fetchProfile , isAuthenticated } from "../api/auth" ;
44import { EditorAppShell } from "../components/appshell" ;
5- import { createParametersStore , ParametersContext } from "../stores/parameters" ;
65import { getInitialInputsFromUrl } from "../share/urlShare" ;
76import { preloadDefaultFonts } from "../stores/fonts" ;
7+ import { createParametersStore , ParametersContext } from "../stores/parameters" ;
88import "../styles/editor.css" ;
99import "../styles/page.css" ;
1010
You can’t perform that action at this time.
0 commit comments