mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
chore: change default outline workspace name
This commit is contained in:
@@ -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 = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user