-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add "Edit" system tray option for linking directly to widget co…
…nfig form (#163)
- Loading branch information
1 parent
13a25c5
commit 901c6b6
Showing
5 changed files
with
71 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
/* @refresh reload */ | ||
import './index.css'; | ||
import { Route, Router } from '@solidjs/router'; | ||
import { HashRouter, Route } from '@solidjs/router'; | ||
import { render } from 'solid-js/web'; | ||
|
||
import { WidgetConfigs } from './configs/WidgetConfigs'; | ||
|
||
render( | ||
() => ( | ||
<Router> | ||
<HashRouter> | ||
<Route path="/" component={WidgetConfigs} /> | ||
</Router> | ||
<Route path="/widget/:path" component={WidgetConfigs} /> | ||
</HashRouter> | ||
), | ||
document.getElementById('root')!, | ||
); |