mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
better first interactions + bug fix
This commit is contained in:
@@ -5,9 +5,9 @@ export function isLiveDemo() {
|
||||
return route.path == '/live_demo';
|
||||
}
|
||||
|
||||
const liveDemoData = useFetch('/api/live_demo');
|
||||
|
||||
export function useLiveDemo() {
|
||||
return useFetch('/api/live_demo', {
|
||||
key: 'live_demo_project'
|
||||
});
|
||||
return liveDemoData;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user