mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-28 11:53:24 +03:00
chore: change default outline workspace name
This commit is contained in:
parent
2b8c975e6c
commit
d43bdb7aa9
@ -1,8 +1,8 @@
|
|||||||
import { useState, useEffect } from 'react';
|
import { useState, useEffect } from 'react';
|
||||||
import { useAppState } from '@/providers/app-state-provider';
|
import { useAppState } from '@/providers/app-state-provider';
|
||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
const defaultOutLineWorkspaceId =
|
const defaultOutLineWorkspaceId = 'affine';
|
||||||
'local-first-' + '85b4ca0b9081421d903bbc2501ea280f';
|
// 'local-first-' + '85b4ca0b9081421d903bbc2501ea280f';
|
||||||
// It is a fully effective hook
|
// It is a fully effective hook
|
||||||
// Cause it not just ensure workspace loaded, but also have router change.
|
// Cause it not just ensure workspace loaded, but also have router change.
|
||||||
export const useEnsureWorkspace = () => {
|
export const useEnsureWorkspace = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user