mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
docs: fix ui builder code block (#1999)
This commit is contained in:
committed by
GitHub
parent
128cca8151
commit
e0835c9d38
@@ -37,8 +37,8 @@ ${
|
||||
return {
|
||||
...acc,
|
||||
[provider]: {
|
||||
clientId: `process.env.${provider.toUpperCase()}_CLIENT_ID`,
|
||||
clientSecret: `process.env.${provider.toUpperCase()}_CLIENT_SECRET`,
|
||||
clientId: `process.env.${provider.toUpperCase()}_CLIENT_ID!`,
|
||||
clientSecret: `process.env.${provider.toUpperCase()}_CLIENT_SECRET!`,
|
||||
},
|
||||
};
|
||||
}, {}),
|
||||
@@ -123,14 +123,14 @@ ${
|
||||
const activeFile = files.find((file) => file.id === activeFileId);
|
||||
|
||||
return (
|
||||
<div className="w-full mr-auto max-w-3xl mt-8 border border-border rounded-md overflow-hidden">
|
||||
<div className="w-full mr-auto max-w-[45rem] mt-8 border border-border rounded-md overflow-hidden">
|
||||
<TabBar
|
||||
files={files}
|
||||
activeFileId={activeFileId}
|
||||
onTabClick={handleTabClick}
|
||||
onTabClose={handleTabClose}
|
||||
/>
|
||||
<div className="bg-back">
|
||||
<div className="">
|
||||
{activeFile && (
|
||||
<CodeEditor
|
||||
language="typescript"
|
||||
|
||||
Reference in New Issue
Block a user