File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { beforeNavigate , goto } from ' $app/navigation' ;
2
+ import { beforeNavigate } from ' $app/navigation' ;
3
3
import { page } from ' $app/stores' ;
4
4
import { INTERVAL } from ' $lib/constants' ;
5
5
import { Logs } from ' $lib/layout' ;
14
14
import { onMount } from ' svelte' ;
15
15
import { loading } from ' ../store' ;
16
16
import Create from ' ./createOrganization.svelte' ;
17
- import { isCloud } from ' $lib/system' ;
18
17
export let data;
19
18
20
19
onMount (() => {
21
20
loading .set (false );
22
21
23
22
// Check if user already viewed cloud hackathon page
24
- if (isCloud ) {
25
- const viewed = localStorage .getItem (' cloud-hackathon-viewed' );
26
-
27
- if (viewed !== data .account .$id ) {
28
- localStorage .setItem (' cloud-hackathon-viewed' , data .account .$id );
29
- goto (' /hackathon' );
30
- }
31
- }
23
+ // if (isCloud) {
24
+ // const viewed = localStorage.getItem('cloud-hackathon-viewed');
25
+ // if (viewed !== data.account.$id) {
26
+ // localStorage.setItem('cloud-hackathon-viewed', data.account.$id);
27
+ // goto('/hackathon');
28
+ // }
29
+ // }
32
30
33
31
setInterval (() => {
34
32
checkForFeedback (INTERVAL );
You can’t perform that action at this time.
0 commit comments