🔖 Bump version to v0.7.0

This commit is contained in:
ajnart
2022-06-12 16:58:48 +02:00
parent e8a8fbe6ac
commit 5b1437552d
4 changed files with 20 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ export function WidgetsPositionSwitch() {
const toggleWidgetPosition = () => {
const position = widgetPosition === 'right' ? 'left' : 'right';
setWidgetPosition(position);
setConfig({
setConfig({
...config,
settings: {
...config.settings,
@@ -48,7 +48,11 @@ export function WidgetsPositionSwitch() {
return (
<Group>
<div className={classes.root}>
<Switch checked={widgetPosition === 'left'} onChange={() => toggleWidgetPosition()} size="md" />
<Switch
checked={widgetPosition === 'left'}
onChange={() => toggleWidgetPosition()}
size="md"
/>
</div>
Position widgets on left
</Group>