Skip to content

Commit 5b14375

Browse files
committed
🔖 Bump version to v0.7.0
1 parent e8a8fbe commit 5b14375

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

data/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export const REPO_URL = 'ajnart/homarr';
2-
export const CURRENT_VERSION = 'v0.6.0';
2+
export const CURRENT_VERSION = 'v0.7.0';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "homarr",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "Homarr - A homepage for your server.",
55
"repository": {
66
"type": "git",

src/components/WidgetsPositionSwitch/WidgetsPositionSwitch.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function WidgetsPositionSwitch() {
3636
const toggleWidgetPosition = () => {
3737
const position = widgetPosition === 'right' ? 'left' : 'right';
3838
setWidgetPosition(position);
39-
setConfig({
39+
setConfig({
4040
...config,
4141
settings: {
4242
...config.settings,
@@ -48,7 +48,11 @@ export function WidgetsPositionSwitch() {
4848
return (
4949
<Group>
5050
<div className={classes.root}>
51-
<Switch checked={widgetPosition === 'left'} onChange={() => toggleWidgetPosition()} size="md" />
51+
<Switch
52+
checked={widgetPosition === 'left'}
53+
onChange={() => toggleWidgetPosition()}
54+
size="md"
55+
/>
5256
</div>
5357
Position widgets on left
5458
</Group>

src/components/layout/Widgets.tsx

+12-12
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ import { ModuleWrapper } from '../modules/moduleWrapper';
66
export default function Widgets(props: any) {
77
const matches = useMediaQuery('(min-width: 800px)');
88

9-
return (
10-
<>
11-
{matches && (
12-
<Group my="sm" grow direction="column" style={{ width: 300 }}>
13-
<ModuleWrapper module={CalendarModule} />
14-
<ModuleWrapper module={TotalDownloadsModule} />
15-
<ModuleWrapper module={WeatherModule} />
16-
<ModuleWrapper module={DateModule} />
17-
</Group>
18-
)}
19-
</>
20-
);
9+
return (
10+
<>
11+
{matches && (
12+
<Group my="sm" grow direction="column" style={{ width: 300 }}>
13+
<ModuleWrapper module={CalendarModule} />
14+
<ModuleWrapper module={TotalDownloadsModule} />
15+
<ModuleWrapper module={WeatherModule} />
16+
<ModuleWrapper module={DateModule} />
17+
</Group>
18+
)}
19+
</>
20+
);
2121
}

0 commit comments

Comments
 (0)