File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { createClient } from "@supabase/supabase-js" ;
2
- import { toolbar } from "../ready-toolbar" ;
3
2
import { renderErrorInModal } from "./display-popup-modal" ;
4
3
5
4
declare const SUPABASE_URL : string ; // @DEV : passed in at build time check build/esbuild-build.ts
@@ -50,12 +49,13 @@ export function renderAugmentAccessButton() {
50
49
51
50
const gitHubLoginButton = document . createElement ( "button" ) ;
52
51
export function renderGitHubLoginButton ( ) {
52
+ const authentication = document . getElementById ( "authentication" ) ;
53
53
gitHubLoginButton . id = "github-login-button" ;
54
54
gitHubLoginButton . innerHTML = "<span>Login</span><span class='full'> With GitHub</span>" ;
55
55
gitHubLoginButton . addEventListener ( "click" , ( ) => gitHubLoginButtonHandler ( ) ) ;
56
- if ( toolbar ) {
57
- toolbar . appendChild ( gitHubLoginButton ) ;
58
- toolbar . classList . add ( "ready" ) ;
56
+ if ( authentication ) {
57
+ authentication . appendChild ( gitHubLoginButton ) ;
58
+ authentication . classList . add ( "ready" ) ;
59
59
}
60
60
}
61
61
Original file line number Diff line number Diff line change 57
57
> < span
58
58
> < span class ="full "> Ubiquity DAO | </ span > < span class ="mid "> DevPool< input type ="checkbox " id ="view-toggle " disabled /> </ span > </ span > </ div > </ label
59
59
> < div id ="filters " class ="filters-container "> </ div
60
- > </ div >
60
+ > < div id =" authentication " > </ div > < /div >
61
61
< div id ="bottom-bar " class ="toolbar "
62
62
> < div id ="filters-bottom " class ="filters-container "> </ div > < a href ="https://dao.ubq.fi/devpool-flow " target ="_blank "> < button > FAQ</ button > </ a > </ div
63
63
>
You can’t perform that action at this time.
0 commit comments